@@ -8,7 +8,7 @@ To quickly get started fuzzing Dash Core using [libFuzzer](https://llvm.org/docs
8
8
$ git clone https://github.com/dashpay/dash
9
9
$ cd dash/
10
10
$ ./autogen.sh
11
- $ CC=clang CXX=clang++ ./configure --enable-fuzz --with-sanitizers=address,fuzzer,undefined --enable-c++17
11
+ $ CC=clang CXX=clang++ ./configure --enable-fuzz --with-sanitizers=address,fuzzer,undefined
12
12
# macOS users: If you have problem with this step then make sure to read "macOS hints for
13
13
# libFuzzer" on https://github.com/dashpay/dash/blob/develop/doc/fuzzing.md#macos-hints-for-libfuzzer
14
14
$ make
@@ -123,7 +123,7 @@ You may also need to take care of giving the correct path for `clang` and
123
123
Full configure that was tested on macOS Catalina with ` brew` installed ` llvm` :
124
124
125
125
` ` ` sh
126
- ./configure --enable-fuzz --with-sanitizers=fuzzer,address,undefined CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++ --disable-asm --enable-c++17
126
+ ./configure --enable-fuzz --with-sanitizers=fuzzer,address,undefined CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++ --disable-asm
127
127
` ` `
128
128
129
129
Read the [libFuzzer documentation](https://llvm.org/docs/LibFuzzer.html) for more information. This [libFuzzer tutorial](https://github.com/google/fuzzing/blob/master/tutorial/libFuzzerTutorial.md) might also be of interest.
@@ -142,7 +142,7 @@ $ make -C AFLplusplus/ source-only
142
142
$ ./autogen.sh
143
143
# If afl-clang-lto is not available, see
144
144
# https://github.com/AFLplusplus/AFLplusplus#a-selecting-the-best-afl-compiler-for-instrumenting-the-target
145
- $ CC=$( pwd) /AFLplusplus/afl-clang-lto CXX=$( pwd) /AFLplusplus/afl-clang-lto++ ./configure --enable-fuzz --enable-c++17
145
+ $ CC=$( pwd) /AFLplusplus/afl-clang-lto CXX=$( pwd) /AFLplusplus/afl-clang-lto++ ./configure --enable-fuzz
146
146
$ make
147
147
# For macOS you may need to ignore x86 compilation checks when running "make". If so,
148
148
# try compiling using: AFL_NO_X86=1 make
@@ -169,7 +169,7 @@ $ git clone https://github.com/google/honggfuzz
169
169
$ cd honggfuzz/
170
170
$ make
171
171
$ cd ..
172
- $ CC=$( pwd) /honggfuzz/hfuzz_cc/hfuzz-clang CXX=$( pwd) /honggfuzz/hfuzz_cc/hfuzz-clang++ ./configure --enable-fuzz --with-sanitizers=address,undefined --enable-c++17
172
+ $ CC=$( pwd) /honggfuzz/hfuzz_cc/hfuzz-clang CXX=$( pwd) /honggfuzz/hfuzz_cc/hfuzz-clang++ ./configure --enable-fuzz --with-sanitizers=address,undefined
173
173
$ make
174
174
$ mkdir -p inputs/
175
175
$ FUZZ=process_message honggfuzz/honggfuzz -i inputs/ -- src/test/fuzz/fuzz
0 commit comments