curl/tests/fuzz
2017-06-15 22:12:12 +02:00
..
corpora fuzz: corpora file structure, initial commit 2017-06-15 22:11:40 +02:00
CMakeLists.txt fuzz: bring oss-fuzz initial code converted to C89 2017-06-15 22:11:30 +02:00
curl_fuzzer.c fuzz: bring oss-fuzz initial code converted to C89 2017-06-15 22:11:30 +02:00
Makefile.am fuzz: corpora file structure, initial commit 2017-06-15 22:11:40 +02:00
Makefile.inc fuzz: corpora file structure, initial commit 2017-06-15 22:11:40 +02:00
README fuzz/README: document how to build 2017-06-15 22:12:12 +02:00

Fuzz tests
==========

The goal is to add tests for *ALL* protocols supported in libcurl.
We will need some additional patches in the future, to increase coverage.

Building the fuzz target
========================

CC=clang-5.0 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
make