ziggy icon indicating copy to clipboard operation
ziggy copied to clipboard

Support non-Rust binaries for Ziggy's binary mode fuzzing

Open kevin-valerio opened this issue 1 year ago • 1 comments

Ziggy fuzzing's mode currently support binary mode with -b to fuzz binary instrumented with AFL compilers. However, if the current directory doesn't contain a proper Rust Cargo.toml, the fuzzing campaign won't start:

> cargo ziggy fuzz -b harness --dict func.dict -j 5 --asan -t 5 -C binary -c corpora/
    Launched afl

See more live information by running:
  tail -f ./output/harness/logs/afl.log
  tail -f ./output/harness/logs/afl_1.log
Error: Failure running fuzzers

Caused by:
    `cargo metadata` exited with an error: error: could not find `Cargo.toml` in `/../example/cpp/build` or any parent directory

kevin-valerio avatar Dec 22 '24 17:12 kevin-valerio

Would this be something you are capable of contributing @kevin-valerio ?

R9295 avatar Dec 22 '24 17:12 R9295