1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-05 09:05:04 -05:00
curl/tests/fuzz/README

20 lines
472 B
Plaintext
Raw Normal View History

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 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
(optional) export LIB_FUZZING_ENGINE=<path to libFuzzer.a>
make check