rust-fuzz / afl.rs

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

Add `AFL_NO_CFG_FUZZING` test #471

Closed patriciobcs closed 6 months ago

patriciobcs commented 7 months ago

Fixes https://github.com/rust-fuzz/afl.rs/issues/403

Hope this works! Just did a simple program like hello.rs and a test where the new cfg.rs is built using the AFL_NO_CFG_FUZZING=1. The new integration test takes a little longer to run (than the other integration test) cause the build command seems to work.

smoelius commented 6 months ago

Thanks!