diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2019-12-18 09:48:11 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2019-12-18 09:48:11 +0000 |
commit | f526dc45cfa25705737599dbda4ad21f4d56ed88 (patch) | |
tree | 44a72db888e2a9b37724542ad2962f03d01e0fde /fuzz/README.md | |
parent | 838c04a7f696b61ae2451058f5bc4c5c4f58f931 (diff) | |
parent | 9f45a6d371b699ce5950ecf53ad2c0453ee8b9f3 (diff) | |
download | gnutls-f526dc45cfa25705737599dbda4ad21f4d56ed88.tar.gz |
Merge branch 'tmp-ext-fuzzer' into 'master'
fuzzer: added fuzzer for gnutls_ext_raw_parse() [ci skip]
See merge request gnutls/gnutls!1133
Diffstat (limited to 'fuzz/README.md')
-rw-r--r-- | fuzz/README.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fuzz/README.md b/fuzz/README.md index 9b56e6a104..b2766623c7 100644 --- a/fuzz/README.md +++ b/fuzz/README.md @@ -34,16 +34,17 @@ me new corpora after 1-2 days. Use the following commands on top dir: ``` -export CC=clang-6.0 +export CC=clang export CFLAGS="-O1 -g -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=undefined,integer,nullability -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,trace-cmp" ./configure --disable-guile --enable-fuzzer-target --enable-static --disable-doc --disable-gcc-warnings --disable-hardware-acceleration make clean make cd fuzz -# build and run gnutls_base64_decode_fuzzer -UBSAN_OPTIONS=print_stacktrace=1 ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-6.0/bin/llvm-symbolizer \ - ./run-clang.sh gnutls_base64_decoder_fuzzer +# build and run gnutls_base64_decode_fuzzer (change ASAN path if not using clang-8) +export UBSAN_OPTIONS=print_stacktrace=1 +export ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-8/bin/llvm-symbolizer +./run-clang.sh gnutls_base64_decoder_fuzzer ``` |