Skip to content

Commit 84e7eb3

Browse files
committed
[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.
1 parent 28a8541 commit 84e7eb3

File tree

2 files changed

+432
-104
lines changed

2 files changed

+432
-104
lines changed

0 commit comments

Comments
 (0)