-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[BOLT][binary-analysis] Add initial pac-ret gadget scanner #122304
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 2 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
0b0137b
[BOLT][binary-analysis] Add initial pac-ret gadget scanner
kbeyls 35e1c44
format cleanup
kbeyls 3b1bd24
Address first round of review feedback by Peter Smith
kbeyls 39d0e54
Address first round of review feedback by @atrosinenko
kbeyls 6edaa01
doTrackReg -> isTrackingReg
kbeyls dd20d44
ParentKind->Kind; CurrentLocation->ParentKind
kbeyls a30116d
Address the easy-to-address feedback by Jacob
kbeyls f44f9bf
Handle erets by producing diagnostic that analysis cannot analyze the…
kbeyls 89d9994
Improve comment related to pauthabi checking
kbeyls 833ef9f
Make a few trivial-to-apply improvements suggested by @atrosinenko
kbeyls fcd288c
Add regression tests for the instructions added in pauth-lr: AUTI{A,B…
kbeyls 0480ce7
Introduce lastWritingInsts helper function to improve readability
kbeyls a05ae62
Add a few more regression tests
kbeyls 35dfd8d
Add a test for correct uses of non-LR return. This also adds a FIXME …
kbeyls c1103cf
Assume a call may clobber all registers.
kbeyls 8d4ac8e
Make many class names much more readable by introducing namespace to …
kbeyls b5117a0
Improve comment + fix formatting issue
kbeyls 6f8b615
Many small improvements
kbeyls 80c4b8f
More small improvements
kbeyls 7a12544
Add FIXME test cases for passing potentially attacker-controlled regi…
kbeyls 2e22a1d
More nitpicks based on feedback from atrosinenko
kbeyls 66d94c6
Add 2 FIXME comments
kbeyls 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
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.