diff options
author | Jack Lloyd <[email protected]> | 2018-03-27 10:59:09 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-27 10:59:09 -0400 |
commit | ab7029471d353c6a3d7c2e6e560449f0cd995cec (patch) | |
tree | 5a44b45fa50b9169af9a3eeecba3b57252119e16 /doc | |
parent | 22b18895974835be9a7562c556c7c7fc2489a6c9 (diff) |
Update docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/contributing.rst | 6 | ||||
-rw-r--r-- | doc/manual/fuzzing.rst | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/doc/contributing.rst b/doc/contributing.rst index bdb3a5ac2..6674cd0ab 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -120,8 +120,10 @@ If you don't already use it for all your C/C++ development, install ``ccache`` now and configure a large cache on a fast disk. It allows for very quick rebuilds by caching the compiler output. -Use ``--with-sanitizers`` to enable ASan. UBSan has to be added separately -with ``--cc-abi-flags`` at the moment as GCC 4.8 does not have UBSan. +Use ``--enable-sanitizers=`` flag to enable various sanitizer checks. +Supported values including "address" and "undefined" for GCC and +Clang. GCC also supports "iterator" (checked iterators), and Clang +supports "memory" (MSan) and "coverage" (for fuzzing). Copyright Notice ======================================== diff --git a/doc/manual/fuzzing.rst b/doc/manual/fuzzing.rst index 9435536fe..ac9227e94 100644 --- a/doc/manual/fuzzing.rst +++ b/doc/manual/fuzzing.rst @@ -41,9 +41,8 @@ To fuzz with AFL (http://lcamtuf.coredump.cx/afl/):: $ ./configure.py --with-sanitizers --build-fuzzer=afl --unsafe-fuzzer-mode --cc-bin=afl-g++ $ make fuzzers -For AFL, `--with-sanitizers` is optional. - -You can also use `afl-clang-fast++` or `afl-clang++`. +For AFL sanitizers are optional. You can also use `afl-clang-fast++` +or `afl-clang++`, be sure to set `--cc=clang` also. The fuzzer binaries will be in `build/fuzzer`. To run them you need to run under `afl-fuzz`:: |