fuzzer: move to using external curl-fuzzer

Use the external curl-fuzzer repository for fuzzing.

Closes #1923
This commit is contained in:
Max Dymond 2017-09-25 10:59:18 +01:00 committed by Daniel Stenberg
parent 120d963a64
commit 4f38db1d28
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
32 changed files with 20 additions and 1145 deletions

View file

@ -1,21 +1,8 @@
Fuzz tests
==========
The goal is to add tests for *ALL* protocols supported in libcurl.
The fuzzing tests for curl have been moved to a separate repository:
Building the fuzz target
========================
From the CURL root directory:
https://github.com/curl/curl-fuzzer
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
More information on how to get started with curl fuzz testing can be found there.