fuzz: add regressions/ folder; improve READMEs

This commit is contained in:
y
2023-09-19 16:08:30 -04:00
parent aaed928482
commit e7a7f6d02d
12 changed files with 38 additions and 20 deletions

View File

@@ -2,7 +2,7 @@
This directory contains files pertaining to fuzz testing with the [`honggfuzz` fuzzer](https://docs.rs/honggfuzz/latest/honggfuzz/).
We're trying this tool out alongside libfuzzer (covered in `darkfi/fuzz/`).
We're trying this tool out alongside libfuzzer (covered in `darkfi/fuzz/README.md`).
## Comparison to libfuzzer
@@ -23,6 +23,6 @@ cargo install honggfuzz
cargo hfuzz build
# Run
cargo hfuzz run zkbinary-decode
# Run `n` threads: brrrrrrrrrrrrr
HFUZZ_RUN_ARGS="-n 24" cargo hfuzz run zkbinary-decode
```
Further info: https://docs.rs/honggfuzz/latest/honggfuzz/#how-to-use-this-crate