-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve clusterfuzz error message detection
LLVMFuzzerTestOneInput is not supposed to ever return something other than 0. Instead, the whole process should abort in case of a bug being detected. Hence, this replaces the previous returning of 1 (which triggered a libfuzzer assertion downstream, that was detected by clusterfuzz as the root cause of the error) by an abort (which lets clusterfuzz detect the actual cause of the error in the panic message)
- Loading branch information
1 parent
ea11476
commit 31dbbaa
Showing
2 changed files
with
28 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters