File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,8 @@ should be more than sufficient.
18
18
To install ` honggfuzz ` , simply run
19
19
20
20
``` shell
21
+ cargo update
21
22
cargo install honggfuzz --force
22
-
23
- export HFUZZ_BUILD_ARGS=" --features honggfuzz_fuzz"
24
- cargo hfuzz build
25
23
```
26
24
27
25
### Execution
@@ -30,12 +28,19 @@ To run the Hongg fuzzer, do
30
28
31
29
``` shell
32
30
export CPU_COUNT=1 # replace as needed
31
+ export HFUZZ_BUILD_ARGS=" --features honggfuzz_fuzz"
33
32
export HFUZZ_RUN_ARGS=" -n $CPU_COUNT --exit_upon_crash"
34
33
35
- export TARGET=" " # replace with the target to be fuzzed
34
+ export TARGET=" msg_ping_target " # replace with the target to be fuzzed
36
35
cargo hfuzz run $TARGET
37
36
```
38
37
38
+ To see a list of available fuzzing targets, run:
39
+
40
+ ``` shell
41
+ ls ./src/bin/
42
+ ```
43
+
39
44
## A fuzz test failed on Travis, what do I do?
40
45
41
46
You're trying to create a PR, but need to find the underlying cause of that pesky fuzz failure blocking the merge?
You can’t perform that action at this time.
0 commit comments