srlabs / ziggy

A multi-fuzzer management utility for all of your Rust fuzzing needs 🧑‍🎤
Apache License 2.0
59 stars 6 forks source link

check if the target exists first before running afl-fuzz #42

Closed vanhauser-thc closed 11 months ago

vanhauser-thc commented 1 year ago

me or bruno were in the wrong directory (/fuzz/targets/foo and not /fuzz/targets/foo/runtime/foo/fuzz) and hence cargo ziggy run build the targets but could not find them, resulting in a loop of starting afl-fuzz (fails invisible), trying minimization (fails invisible) and back to afl-fuzz etc. a check that this does not happen would be nice :)

louismerlin commented 11 months ago

Tried this in a random project, this is fixed by the fact we do not have a minimization-loop anymore.

Worst case scenario it runs the fuzzer against a random binary that does not take data as input, but I don't see a way of doing a good sanity-check against that.