rust-fuzz / afl.rs

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

timeouts never register as hangs #526

Open mschneider opened 2 months ago

mschneider commented 2 months ago

The default afl behaviour is to classify runs that overrun the timeout limit by 2x as hangs. These get saved and can later be inspected to identify issues in the fuzzing code. The recommended action when experiencing a lot of timeouts is to artificially reduce the timeout limit until regular timeouts get saved as hangs. See here https://github.com/AFLplusplus/AFLplusplus/discussions/2011

When I tried the same by appending -t 10 (default is 1000) to cargo afl fuzz i still only get timeouts but 0 hangs. I wonder if this is a afl.rs specific issue:

image

smoelius commented 2 months ago

Are you able to share the problematic target?