diff options
author | Max Dymond <cmeister2@gmail.com> | 2017-08-27 15:57:05 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-09-01 11:22:51 +0200 |
commit | efeb4a317616b0437a26277945bd300eaffe96d7 (patch) | |
tree | 86f46482f6f9a4eb98fcad25eeb06ea0027b01dc /tests/fuzz/standalone_fuzz_target_runner.h | |
parent | 222e65fd783bec974b99345e0d618d4e627304de (diff) | |
download | curl-efeb4a317616b0437a26277945bd300eaffe96d7.tar.gz |
ossfuzz: moving towards the ideal integration
- Start with the basic code from the ossfuzz project.
- Rewrite fuzz corpora to be binary files full of Type-Length-Value
data, and write a glue layer in the fuzzing function to convert
corpora into CURL options.
- Have supporting functions to generate corpora from existing tests
- Integrate with Makefile.am
Diffstat (limited to 'tests/fuzz/standalone_fuzz_target_runner.h')
-rw-r--r-- | tests/fuzz/standalone_fuzz_target_runner.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/fuzz/standalone_fuzz_target_runner.h b/tests/fuzz/standalone_fuzz_target_runner.h new file mode 100644 index 000000000..37302618b --- /dev/null +++ b/tests/fuzz/standalone_fuzz_target_runner.h @@ -0,0 +1,23 @@ +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 2017, Max Dymond, <cmeister2@gmail.com>, et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at https://curl.haxx.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ***************************************************************************/ + +int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
\ No newline at end of file |