Skip to content

Commit 2b78a11

Browse files
committed
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++.
1 parent f4301e9 commit 2b78a11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/fuzzing.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ $ git clone https://github.com/google/afl
121121
$ make -C afl/
122122
$ make -C afl/llvm_mode/
123123
$ ./autogen.sh
124+
# It is possible to compile with afl-gcc and afl-g++ instead of afl-clang. However, running afl-fuzz
125+
# may require more memory via the -m flag.
124126
$ CC=$(pwd)/afl/afl-clang-fast CXX=$(pwd)/afl/afl-clang-fast++ ./configure --enable-fuzz
125127
$ make
126128
# For macOS you may need to ignore x86 compilation checks when running "make". If so,

0 commit comments

Comments
 (0)