mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
doc: afl fuzzing comment about afl-gcc and afl-g++
This commit includes a short comment in doc/fuzzing.md that gives guidance on compiling Bitcoin Core with AFL instrumentation using afl-gcc and afl-g++.
This commit is contained in:
parent
f4301e9107
commit
2b78a11b48
@ -121,6 +121,8 @@ $ git clone https://github.com/google/afl
|
||||
$ make -C afl/
|
||||
$ make -C afl/llvm_mode/
|
||||
$ ./autogen.sh
|
||||
# It is possible to compile with afl-gcc and afl-g++ instead of afl-clang. However, running afl-fuzz
|
||||
# may require more memory via the -m flag.
|
||||
$ CC=$(pwd)/afl/afl-clang-fast CXX=$(pwd)/afl/afl-clang-fast++ ./configure --enable-fuzz
|
||||
$ make
|
||||
# For macOS you may need to ignore x86 compilation checks when running "make". If so,
|
||||
|
Loading…
Reference in New Issue
Block a user