[all-commits] [llvm/llvm-project] 7a5af4: [BOLT] Gadget scanner: detect untrusted LR before ...
Anatoly Trosinenko via All-commits
all-commits at lists.llvm.org
Thu Jun 26 02:37:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7a5af4f6b850a3594a0510c66c64563f3e7da883
https://github.com/llvm/llvm-project/commit/7a5af4f6b850a3594a0510c66c64563f3e7da883
Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
M bolt/lib/Passes/PAuthGadgetScanner.cpp
A bolt/test/binary-analysis/AArch64/gs-pauth-tail-calls.s
Log Message:
-----------
[BOLT] Gadget scanner: detect untrusted LR before tail call (#137224)
Implement the detection of tail calls performed with untrusted link
register, which violates the assumption made on entry to every function.
Unlike other pauth gadgets, detection of this one involves some amount
of guessing which branch instructions should be checked as tail calls.
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