Skip to content

Commit aea2971

Browse files
committed
Add details on asserting latest version in the dependencies and listing targets.
1 parent df18f99 commit aea2971

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

fuzz/README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ should be more than sufficient.
1818
To install `honggfuzz`, simply run
1919

2020
```shell
21+
cargo update
2122
cargo install honggfuzz --force
22-
23-
export HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz"
24-
cargo hfuzz build
2523
```
2624

2725
### Execution
@@ -30,12 +28,19 @@ To run the Hongg fuzzer, do
3028

3129
```shell
3230
export CPU_COUNT=1 # replace as needed
31+
export HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz"
3332
export HFUZZ_RUN_ARGS="-n $CPU_COUNT --exit_upon_crash"
3433

35-
export TARGET="" # replace with the target to be fuzzed
34+
export TARGET="msg_ping_target" # replace with the target to be fuzzed
3635
cargo hfuzz run $TARGET
3736
```
3837

38+
To see a list of available fuzzing targets, run:
39+
40+
```shell
41+
ls ./src/bin/
42+
```
43+
3944
## A fuzz test failed on Travis, what do I do?
4045

4146
You're trying to create a PR, but need to find the underlying cause of that pesky fuzz failure blocking the merge?

0 commit comments

Comments
 (0)