Skip to content
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

[AArch64][PAC] Support BLRA* instructions in SLS Hardening pass #98062

Merged
merged 1 commit into from
Jul 9, 2024

Commits on Jul 9, 2024

  1. [AArch64][PAC] Support BLRA* instructions in SLS Hardening pass

    Make SLS Hardening pass handle BLRA* instructions the same way it
    handles BLR. The thunk names have the form
    
        __llvm_slsblr_thunk_xN            for BLR thunks
        __llvm_slsblr_thunk_(aaz|abz)_xN  for BLRAAZ and BLRABZ thunks
        __llvm_slsblr_thunk_(aa|ab)_xN_xM for BLRAA and BLRAB thunks
    
    Now there are about 1800 possible thunk names, so do not rely on linear
    thunk function's name lookup and parse the name instead.
    
    This patch reapplies #97605.
    atrosinenko committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    61375d6 View commit details
    Browse the repository at this point in the history