diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/fuzzing.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/manual/fuzzing.rst b/doc/manual/fuzzing.rst index 8260582d6..9435536fe 100644 --- a/doc/manual/fuzzing.rst +++ b/doc/manual/fuzzing.rst @@ -19,9 +19,12 @@ need to compile libFuzzer:: Then build the fuzzers:: $ ./configure.py --cc=clang --build-fuzzer=libfuzzer --unsafe-fuzzer-mode \ - --cc-abi-flags='-fsanitize=address,undefined -fsanitize-coverage=edge,indirect-calls,8bit-counters -fno-sanitize-recover=undefined' + --enable-sanitizers=coverage,address,undefined $ make fuzzers +Enabling 'coverage' sanitizer flags is required for libFuzzer to work. +Address sanitizer and undefined sanitizer are optional. + The fuzzer binaries will be in `build/fuzzer`. Simply pick one and run it, optionally also passing a directory containing corpus inputs. |