-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce suppression option to UndefinedBehaviorSanitizer for extern…
…al sources. We maintain a list of suppressions to UndefinedBehaviorSanitizer in order to focus on the work inside pkg.
- Loading branch information
Showing
3 changed files
with
24 additions
and
5 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# | ||
# These are errors that need to be taken care of, but in the sprit of | ||
# "Put Your Own Oxygen Mask on First", we provide here a suppression list for | ||
# _external_ sources. | ||
# | ||
|
||
# external/sqlite/sqlite3.c:45168:9: runtime error: call to function _dbdir_getcwd through pointer to incorrect function type 'char *(*)(char *, unsigned long)' | ||
# +pkgdb.c:921: note: _dbdir_getcwd defined here | ||
# +SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior external/sqlite/sqlite3.c:45168:9 | ||
function:sqlite3.c | ||
|
||
# external/picosat/picosat.c:3432:33: runtime error: applying non-zero offset 8 to null pointer | ||
# +SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior external/picosat/picosat.c:3432:33 | ||
pointer-overflow:picosat.c |