-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
bad_build_check didn't catch latest Jazzer breakage #8276
Comments
CC @fmeum too |
Related: #8241 |
The Jazzer bug caused a crash if the fuzz target wasn't executed with a Not sure what to do about this particular bug type - we now have an internal one covering it. |
Could we perhaps add one extra check (for libFuzzer engines) where we:
None of these should result in a crash if it's a good build. |
IMO the check worked as it should. There was nothing wrong with Jazzer projects and reporting the bugs there instead of when we update Jazzer is not great UX. Ideally we wcould make seperate tests that run during updating |
If we don't pin, yes. If we had these bad build checks and we pin, then we can catch them with our trial_build checks right? Even ignoring Jazzer, making sure a target doesn't crash with an empty input is pretty valid right? |
Right, I think we should absolutely pin though |
I guess. I think our existing bad build check probably cover this 99% of the time and just happened to miss it here. |
Indeed. Let's:
@fmeum you mentioned being able to help with this. Would you be able to help us with a PR here? Thanks! |
@oliverchang With empty input, do you mean an invocation of the form |
Yep! |
Adds a new bad build check for libfuzzer targets that runs the fuzzer on an empty file without any further arguments. This is specifically meant to catch issues with argument parsing in libFuzzer derivates such as Jazzer. Fixes google#8276
Adds a new bad build check for libfuzzer targets that runs the fuzzer on an empty file without any further arguments. This is specifically meant to catch issues with argument parsing in libFuzzer derivates such as Jazzer. Fixes google#8276
Context: #8275
bad_build_check should've caught this and prevented builds from getting uploaded.
@jonathanmetzman
The text was updated successfully, but these errors were encountered: