rust-fuzz / afl.rs

🐇 Fuzzing Rust code with American Fuzzy Lop
https://rust-fuzz.github.io/book/afl.html
Apache License 2.0
1.66k stars 107 forks source link

Print command used to build fuzz target #555

Open R9295 opened 1 week ago

R9295 commented 1 week ago

Since instrumentation, and the build process for a target is rather complex (RUSTFLAGS, passes, opt-level and so on), it would be nice to print the exact command used to build the target.

What do you think about AFLRS_DEBUG=1?

Happy to send a patch

smoelius commented 1 week ago

I think this sounds like a good idea.