curl/tests/fuzz
2017-06-15 22:12:12 +02:00
..
corpora
CMakeLists.txt
curl_fuzzer.c
Makefile.am
Makefile.inc
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