Skip to content

Commit

Permalink
[AArch64][PAC] Support BLRA* instructions in SLS Hardening pass
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
atrosinenko committed Jul 4, 2024
1 parent 0247af9 commit f49c32c
Show file tree
Hide file tree
Showing 2 changed files with 432 additions and 104 deletions.
Loading

0 comments on commit f49c32c

Please sign in to comment.