mirror of
https://github.com/mirror/wget.git
synced 2025-03-14 03:40:15 +08:00
* fuzz/README.md: Add CXXFLAGS and more configure options
This commit is contained in:
parent
3ae58dae13
commit
ae6390e6a4
@ -15,9 +15,11 @@ regression testing with top dir 'make check' or 'make check-valgrind'.
|
||||
Use the following commands on top dir:
|
||||
```
|
||||
export CC=clang-6.0
|
||||
export CXX=clang++-6.0
|
||||
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"
|
||||
export CXXFLAGS="$CFLAGS -stdlib=libc++"
|
||||
export LIB_FUZZING_ENGINE="-lFuzzer -lstdc++"
|
||||
./configure --enable-fuzzing
|
||||
./configure --enable-fuzzing --without-metalink --without-zlib --disable-pcre --without-libuuid
|
||||
make clean
|
||||
make -j$(nproc)
|
||||
cd fuzz
|
||||
|
Loading…
Reference in New Issue
Block a user