Commit 76692143 authored by Tim Rühsen's avatar Tim Rühsen 🛠

* fuzz/README.md : Add -fsanitize=undefined,integer,nullability to CFLAGS

parent 185cd038
...@@ -17,7 +17,7 @@ The ./configure runs below are for libidn2. ...@@ -17,7 +17,7 @@ The ./configure runs below are for libidn2.
Use the following commands on top dir: Use the following commands on top dir:
``` ```
export CC=clang-5.0 export CC=clang-5.0
export CFLAGS="-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,trace-cmp" export CFLAGS="-O1 -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"
ASAN_OPTIONS=detect_leaks=0 ./configure --enable-static --disable-doc --disable-gcc-warnings ASAN_OPTIONS=detect_leaks=0 ./configure --enable-static --disable-doc --disable-gcc-warnings
make clean make clean
make -j$(nproc) make -j$(nproc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment