-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[ubsan] Add more -fsanitize-annotate-debug-info checks #141997
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
6bc5c7c
[ubsan] Add more -fsanitize-annotate-debug-info checks
thurstond 41735cb
Refactor to use explicit CheckOrdinal variable
thurstond 3e53462
Mention why void* is used instead of ApplyDebugLocation*
thurstond fbadcee
!ApplyTrapDI assertion
thurstond 6f82a48
Cleanup
thurstond 58d76a6
ApplyTrapDI and stdin cleanup
thurstond 4f9a4de
Add missing SanitizerOrdinal to SanitizerScope
thurstond 4041270
Rename to __ubsan_check_debug_info_anchor
thurstond 93ef358
Unnecessary braces
thurstond 5da37cd
Update tests
thurstond 9dee8ea
Use SanitizerHandler in name
thurstond 05d047b
Simplify no-handler case
thurstond 827dcbd
Add note about SO_Vptr ambiguity
thurstond 2a816fe
Florian1 feedback
thurstond ed2c9b5
Use std::make_unique
thurstond 16d6bee
Remove useless assert
thurstond 8176e88
Merge remote-tracking branch 'origin/main' into ubsan_annotate
vitalybuka 2eee786
SanitizerDebugLocation
vitalybuka 637c4a2
Merge remote-tracking branch 'origin/main' into ubsan_annotate
vitalybuka ff5ffbf
Replace manual ApplyDebugLocation annotation with SanitizerDebugLocation
thurstond 1df8fe4
Revert "Replace manual ApplyDebugLocation annotation with SanitizerDe…
thurstond aead894
Replace manual ApplyDebugLocation with SanitizerDebugLocation, and also
thurstond 11a74d1
Refactor EmitTypeCheck into three more precise SanitizerDebugLocations
thurstond be32bd7
assert(IsSanitizerScope); in EmitVTablePtrCheck
thurstond 81ecf62
Re-run CI
thurstond 5a510a3
Use ordinal for label if unique
thurstond 31291d0
Undo test change
thurstond 3dedb83
Remove newline
thurstond 0ded77d
Merge remote-tracking branch 'upstream' into ubsan_annotate (and
thurstond File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.