[all-commits] [llvm/llvm-project] cc4f98: Normalize ptrauth handling in sanitizer runtime (#...
Anton Korobeynikov via All-commits
all-commits at lists.llvm.org
Thu Jul 25 11:58:08 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc4f98979b079b517edd8a71f56a8975f436e63d
https://github.com/llvm/llvm-project/commit/cc4f98979b079b517edd8a71f56a8975f436e63d
Author: Anton Korobeynikov <anton at korobeynikov.info>
Date: 2024-07-25 (Thu, 25 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_ptrauth.h
Log Message:
-----------
Normalize ptrauth handling in sanitizer runtime (#100483)
1. Include `ptrauth.h` if `ptrauth_intrinsics` language feature is specified (per ptrauth spec, this is what enables `ptrauh.h` usage and functions like `ptrauth_strip`)
2. For PAC-RET fallback implement two changes:
1. Switch to macro, so we can ignore key argument
2. Ensure the unsigned value is erased from LR, so the possibility of gadget reuse is reduced.
Fixes #100467
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list