-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#5623 AArch64: Improve PAUTH transparency (#6856)
Previously direct/indirect branches with pointer authentication would be mangled to strip the pointer authentication code from the address using an xpaci instruction. This means that code that might fail when running natively (because the pointer authentication doesn't pass) could succeed under DynamoRIO because the pointer was not being authenticated. This commit changes the mangling code to use auti* instructions to authenticate the pointer instead, and adds tests to check that it behaves correctly for all the branch and authenticate instructions. Issue: #5623 Fixes: #5623 Co-authored-by: Phil Ramsey <[email protected]>
- Loading branch information
1 parent
1b5bb42
commit 2e1d96b
Showing
13 changed files
with
772 additions
and
51 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
Oops, something went wrong.