diff options
author | Anatoly Trosinenko <atrosinenko@accesssoftek.com> | 2025-10-01 14:03:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-01 14:03:29 +0300 |
commit | 55bd45852cde2eeb0132767f54f48589d87ce2ad (patch) | |
tree | 7d27f0834d57b592f80ca273155dc978fc901c1f /clang/lib/Frontend/CompilerInstance.cpp | |
parent | e95ed3352e5001a038d5fbf2989f2161fc526384 (diff) | |
download | llvm-55bd45852cde2eeb0132767f54f48589d87ce2ad.zip llvm-55bd45852cde2eeb0132767f54f48589d87ce2ad.tar.gz llvm-55bd45852cde2eeb0132767f54f48589d87ce2ad.tar.bz2 |
[BOLT] Gadget scanner: optionally assume auth traps on failure (#139778)
On AArch64 it is possible for an auth instruction to either return an
invalid address value on failure (without FEAT_FPAC) or generate an
error (with FEAT_FPAC). It thus may be possible to never emit explicit
pointer checks, if the target CPU is known to support FEAT_FPAC.
This commit implements an --auth-traps-on-failure command line option,
which essentially makes "safe-to-dereference" and "trusted" register
properties identical and disables scanning for authentication oracles
completely.
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions