diff options
| author | mat <git@matdoes.dev> | 2026-01-12 09:38:47 -1030 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-01-13 01:08:53 +0500 |
| commit | efb36d5fc0fe56a98f5795c53dfa109887cd5aae (patch) | |
| tree | 3674f0b53afca4b3f1d58fc0406bcbac552ab961 /azalea-protocol/fuzz/README.md | |
| parent | 2310666975d0f7e06f44efa6032c6838f2a33f0c (diff) | |
| download | azalea-drasl-efb36d5fc0fe56a98f5795c53dfa109887cd5aae.tar.xz | |
fix memory leaks in azalea-protocol
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/ ``` |
