mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
1cf323ec4e
Create simple seed corpora for: - FTP - telnet - dict - tftp - imap - pop3 based off the tests of the same number. Closes #1842 |
||
---|---|---|
.. | ||
curl_fuzz_data | ||
curl_fuzzer.c | ||
curl_fuzzer.h | ||
generate_corpus.py | ||
Makefile.am | ||
Makefile.inc | ||
README | ||
standalone_fuzz_target_runner.c | ||
standalone_fuzz_target_runner.h |
Fuzz tests ========== The goal is to add tests for *ALL* protocols supported in libcurl. Building the fuzz target ======================== From the CURL root directory: export CC=clang-5.0 export CFLAGS="-fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,trace-cmp" ./configure --disable-shared --enable-debug --enable-maintainer-mode make -sj cd tests/fuzz (optional) export LIB_FUZZING_ENGINE=<path to libFuzzer.a> make check