[all-commits] [llvm/llvm-project] e0df85: Normalize ptrauth handling in sanitizer runtime:
Anton Korobeynikov via All-commits
all-commits at lists.llvm.org
Wed Jul 24 16:13:35 PDT 2024
Branch: refs/heads/users/asl/compiler-rt-pauth-includes
Home: https://github.com/llvm/llvm-project
Commit: e0df857da214737ab6383611ee6a57eb60190a7e
https://github.com/llvm/llvm-project/commit/e0df857da214737ab6383611ee6a57eb60190a7e
Author: Anton Korobeynikov <anton at korobeynikov.info>
Date: 2024-07-24 (Wed, 24 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_ptrauth.h
Log Message:
-----------
Normalize ptrauth handling in sanitizer runtime:
1. Include ptrauth.h if ptrauth_intrinsics language feature is specified
(per ptrauth spec, this is what enables ptrauh.h usage)
2. For PAC-RET fallback implement two changes:
- Switch to macro, so we can ignore key argument
- 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