1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00
curl/tests/fuzz
2017-08-08 21:41:07 +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 docs/comments: Update to secure URL versions 2017-08-08 21:41:07 +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