-
Notifications
You must be signed in to change notification settings - Fork 108
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
Stability is not 100% even with an empty fuzzing target #152
Comments
Apparently lazy_static is something that needs to be handled carefully for afl. It ends up only being initialized inside the loop instead of only once. It's easy to work around in this codebase but it may be something that needs to be fixed more fully for other codebases to work well. |
Having kept at it I'm now hitting ~90% stability only. Since the empty fuzz target is showing ~94% this seems like a bug somewhere in how afl.rs is doing the instrumentation. |
Apparently this happens because of the panic hook as well. Without it stability goes back to 100%. |
If your fuzzing code catches panics somewhere inside its code the hook would turn those into crashes. Allow disabling the hook by adding a fuzz_nohook! macro. Fixes rust-fuzz#150 Fixes rust-fuzz#152
If your fuzzing code catches panics somewhere inside its code the hook would turn those into crashes. Allow disabling the hook by adding a fuzz_nohook! macro. Fixes rust-fuzz#150 Fixes rust-fuzz#152
When fuzzing rawloader I'm getting these warnings on startup:
and when running the fuzzer stability is around 68% which is extremely low. Even an empty fuzzing target like this:
Only shows 93 or 94% stability. Am I doing something wrong or is there a bug somewhere?
The text was updated successfully, but these errors were encountered: