1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-17 23:15:08 -05:00
curl/tests/fuzz
2017-08-25 11:01:07 +02:00
..
corpora fuzz: corpora file structure, initial commit 2017-06-15 22:11:40 +02:00
CMakeLists.txt
curl_fuzzer.c docs/comments: Update to secure URL versions 2017-08-08 21:41:07 +02:00
Makefile.am fuzz/Makefile.am: remove curlbuild.h leftovers 2017-08-25 11:01:07 +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