1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 19:45:04 -05:00
curl/tests/fuzz
Max Dymond 1cf323ec4e
ossfuzz: additional seed corpora
Create simple seed corpora for:
- FTP
- telnet
- dict
- tftp
- imap
- pop3

based off the tests of the same number.

Closes #1842
2017-09-01 11:23:07 +02:00
..
curl_fuzz_data ossfuzz: additional seed corpora 2017-09-01 11:23:07 +02:00
curl_fuzzer.c ossfuzz: moving towards the ideal integration 2017-09-01 11:22:51 +02:00
curl_fuzzer.h ossfuzz: moving towards the ideal integration 2017-09-01 11:22:51 +02:00
generate_corpus.py ossfuzz: moving towards the ideal integration 2017-09-01 11:22:51 +02:00
Makefile.am ossfuzz: moving towards the ideal integration 2017-09-01 11:22:51 +02:00
Makefile.inc ossfuzz: moving towards the ideal integration 2017-09-01 11:22:51 +02:00
README ossfuzz: moving towards the ideal integration 2017-09-01 11:22:51 +02:00
standalone_fuzz_target_runner.c ossfuzz: moving towards the ideal integration 2017-09-01 11:22:51 +02:00
standalone_fuzz_target_runner.h ossfuzz: moving towards the ideal integration 2017-09-01 11:22:51 +02:00

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