bonazzi a86539c815 Patch level : 12.0 no patch
Files correlati     :       

utilma verione di curl


git-svn-id: svn://10.65.10.50/branches/R_10_00@24159 c028cbd2-c16b-5b4b-a496-9718f37d4682
2017-10-29 11:18:48 +00:00
..
2017-10-29 11:18:48 +00:00
2017-10-29 11:18:48 +00:00
2017-10-29 11:18:48 +00:00
2017-10-29 11:18:48 +00:00
2017-10-29 11:18:48 +00: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 CXX=clang++-5.0
export CFLAGS="-fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,trace-cmp"
export CXXFLAGS="-fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,trace-cmp -stdlib=libc++"
./configure --disable-shared --enable-debug --enable-maintainer-mode
make -sj

cd tests/fuzz

(optional) export LIB_FUZZING_ENGINE=<path to libFuzzer.a>

make check