diff options
Diffstat (limited to 'azalea-protocol/fuzz/README.md')
| -rw-r--r-- | azalea-protocol/fuzz/README.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/azalea-protocol/fuzz/README.md b/azalea-protocol/fuzz/README.md index df18e8ea..28b1cf4b 100644 --- a/azalea-protocol/fuzz/README.md +++ b/azalea-protocol/fuzz/README.md @@ -11,11 +11,13 @@ Additionally, you should be aware that this fuzzer only targets `azalea-protocol ```sh cargo install cargo-fuzz -cargo fuzz run clientbound_game -s none -- -rss_limit_mb=16384 +cargo fuzz run clientbound_game -s none -- -rss_limit_mb=16384 -malloc_limit_mb=1024 # other valid targets: {clientbound,serverbound}_{config,game,handshake,login,status} # note: the rss_limit_mb is increased (from the default of 2048) so libfuzzer # doesn't oom due to the branchiness of the code :( -# also see https://appsec.guide/docs/fuzzing/rust/cargo-fuzz/#addresssanitizer +# also, the `-s none` is there for increased performance, but at the cost of catching less bugs. feel free to remove it. + +# also see https://appsec.guide/docs/fuzzing/rust/cargo-fuzz/ ``` |
