| 73 | } |
| 74 | |
| 75 | static inline bool isSTP(instruction_t insn) { |
| 76 | // stp xn, xm, [sp, #-imm]! |
| 77 | // stp dn, dm, [sp, #-imm]! |
| 78 | return (insn & 0xffe003e0) == 0xa9a003e0 || (insn & 0xffe003e0) == 0x6da003e0; |
| 79 | } |
| 80 | |
| 81 | // Check if this is a well-known leaf stub with a constant size frame |
| 82 | static inline bool isFixedSizeFrame(const char* name) { |