File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -133,3 +133,25 @@ $ afl/afl-fuzz -i inputs/ -o outputs/ -- src/test/fuzz/bech32
133
133
` ` `
134
134
135
135
Read the [` afl-fuzz` documentation](https://github.com/google/afl) for more information.
136
+
137
+ # Fuzzing Bitcoin Core using Honggfuzz
138
+
139
+ # # Quickstart guide
140
+
141
+ To quickly get started fuzzing Bitcoin Core using [Honggfuzz](https://github.com/google/honggfuzz):
142
+
143
+ ` ` ` sh
144
+ $ git clone https://github.com/bitcoin/bitcoin
145
+ $ cd bitcoin/
146
+ $ ./autogen.sh
147
+ $ git clone https://github.com/google/honggfuzz
148
+ $ cd honggfuzz/
149
+ $ make
150
+ $ cd ..
151
+ $ CC=$( pwd) /honggfuzz/hfuzz_cc/hfuzz-clang CXX=$( pwd) /honggfuzz/hfuzz_cc/hfuzz-clang++ ./configure --enable-fuzz --with-sanitizers=address,undefined
152
+ $ make
153
+ $ mkdir -p inputs/
154
+ $ honggfuzz/honggfuzz -i inputs/ -- src/test/fuzz/process_message
155
+ ` ` `
156
+
157
+ Read the [Honggfuzz documentation](https://github.com/google/honggfuzz/blob/master/docs/USAGE.md) for more information.
You can’t perform that action at this time.
0 commit comments