[llvm] [BOLT][binary-analysis] Add initial pac-ret gadget scanner (PR #122304)

Kristof Beyls via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 05:50:06 PST 2025


================
@@ -148,6 +149,68 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
     return false;
   }
 
+  MCPhysReg getAuthenticatedReg(const MCInst &Inst) const override {
----------------
kbeyls wrote:

Thanks for noticing! The original code here was written before these instructions were fully defined...
I've added them now in commit `f44f9bf`, but still need to write regression tests for these instructions.

https://github.com/llvm/llvm-project/pull/122304


More information about the llvm-commits mailing list