-
Notifications
You must be signed in to change notification settings - Fork 502
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
afl fuzz tests #270
Comments
I could probably contribute something! Do you already have a "sample language" somewhere? Ideally with a common root message, so that all code paths can be discovered from the same parse entry point. |
Yes, see the existing |
@dbrgn more of a point of curiosity than anything, how long did you have to run afl to produce the stack overflow? |
It was only a few minutes on a single core 🙂 Not sure if I just got lucky. I was fuzzing a separate project where most (but not all) messages are just a single prefix byte, followed by a protobuf message. I quickly got about half a dozen failures, which were all related to the stack overflow. |
#267 shows that the current in-tree fuzzing based on
cargo-fuzz
has some blindspots. Investigate adding afl-based fuzzing to the in-tree test suite.The text was updated successfully, but these errors were encountered: