Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kevin-valerio opened this issue Dec 22, 2024 · 1 comment
Open

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

kevin-valerio opened this issue Dec 22, 2024 · 1 comment

Comments

@kevin-valerio
Copy link
Contributor

kevin-valerio commented Dec 22, 2024

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
@R9295
Copy link
Collaborator

R9295 commented Dec 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants