x 9785777642 chore: Update copyright license year hai 7 meses
..
hfuzz_workspace 2d41e54f14 fuzz: move all artifacts into regressions %!s(int64=2) %!d(string=hai) anos
script c669ba4696 fuzz: fix old code comment in script %!s(int64=2) %!d(string=hai) anos
src 9785777642 chore: Update copyright license year hai 7 meses
.gitignore 2d41e54f14 fuzz: move all artifacts into regressions %!s(int64=2) %!d(string=hai) anos
Cargo.toml add9bb596c chore: Update crate dependencies hai 7 meses
README.md e7a7f6d02d fuzz: add regressions/ folder; improve READMEs %!s(int64=2) %!d(string=hai) anos

README.md

Fuzz2 - honggfuzz

This directory contains files pertaining to fuzz testing with the honggfuzz fuzzer.

We're trying this tool out alongside libfuzzer (covered in darkfi/fuzz/README.md).

Comparison to libfuzzer

  • Does not halt execution on crashes (can discover multiple crashes in one fuzzing session)
  • Fewer memory issues (tool less likely to crash, easier to configure)
  • Better UI

Install

cargo install honggfuzz

Usage

# Build targets from Cargo.toml [[bin]] section
cargo hfuzz build
# Run
cargo hfuzz run zkbinary-decode
# Run `n` threads: brrrrrrrrrrrrr
HFUZZ_RUN_ARGS="-n 24" cargo hfuzz run zkbinary-decode