[all-commits] [llvm/llvm-project] 8be334: [BOLT] Gadget scanner: implement finer-grained --s...

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Thu Jan 15 03:22:14 PST 2026


  Branch: refs/heads/users/atrosinenko/bolt-gs-fine-grained-scanners
  Home:   https://github.com/llvm/llvm-project
  Commit: 8be334ceeefcf1db8967aa90802632d0cca424b4
      https://github.com/llvm/llvm-project/commit/8be334ceeefcf1db8967aa90802632d0cca424b4
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    M bolt/include/bolt/Passes/PAuthGadgetScanner.h
    M bolt/include/bolt/Utils/CommandLineOpts.h
    M bolt/lib/Passes/PAuthGadgetScanner.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/test/binary-analysis/AArch64/cmdline-args.test
    M bolt/test/binary-analysis/AArch64/gs-pacret-autiasp.s
    M bolt/test/binary-analysis/AArch64/gs-pacret-multi-bb.s
    M bolt/test/binary-analysis/AArch64/gs-pauth-address-checks.s
    M bolt/test/binary-analysis/AArch64/gs-pauth-address-materialization.s
    M bolt/test/binary-analysis/AArch64/gs-pauth-authentication-oracles.s
    M bolt/test/binary-analysis/AArch64/gs-pauth-calls.s
    M bolt/test/binary-analysis/AArch64/gs-pauth-debug-output.s
    A bolt/test/binary-analysis/AArch64/gs-pauth-scanners.s
    M bolt/test/binary-analysis/AArch64/gs-pauth-signing-oracles.s
    M bolt/test/binary-analysis/AArch64/gs-pauth-tail-calls.s
    M bolt/test/binary-analysis/AArch64/trap-instructions.s

  Log Message:
  -----------
  [BOLT] Gadget scanner: implement finer-grained --scanners option

Add separate options to enable each of the available gadget detectors.
Furthermore, add two meta-options enabling all PtrAuth scanners and all
available scanners of any type (which is only PtrAuth for now, though).

This commit renames `pacret` option to `ptrauth-pac-ret` and `pauth` to
`ptrauth-all`.



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