|
Rizin
unix-like reverse engineering framework and cli tools
|
#include <capstone/capstone.h>Go to the source code of this file.
Macros | |
| #define | IMM64(x) (ut64)(insn->detail->arm64.operands[x].imm) |
| #define | INSOP64(x) insn->detail->arm64.operands[x] |
| #define | REGID64(x) insn->detail->arm64.operands[x].reg |
| #define | REGBASE64(x) insn->detail->arm64.operands[x].mem.base |
| #define | HASMEMINDEX64(x) (insn->detail->arm64.operands[x].mem.index != ARM64_REG_INVALID) |
| #define | MEMDISP64(x) (ut64) insn->detail->arm64.operands[x].mem.disp |
| #define | ISIMM64(x) (insn->detail->arm64.operands[x].type == ARM64_OP_IMM) |
| #define | ISREG64(x) (insn->detail->arm64.operands[x].type == ARM64_OP_REG) |
| #define | ISMEM64(x) (insn->detail->arm64.operands[x].type == ARM64_OP_MEM) |
| #define | LSHIFT2_64(x) 0 |
| #define | OPCOUNT64() insn->detail->arm64.op_count |
| #define | ISWRITEBACK64() (insn->detail->arm64.writeback == true) |
| #define | ISPREINDEX64() (((OPCOUNT64() == 2) && (ISMEM64(1)) && (ISWRITEBACK64())) || ((OPCOUNT64() == 3) && (ISMEM64(2)) && (ISWRITEBACK64()))) |
| #define | ISPOSTINDEX64() (((OPCOUNT64() == 3) && (ISIMM64(2)) && (ISWRITEBACK64())) || ((OPCOUNT64() == 4) && (ISIMM64(3)) && (ISWRITEBACK64()))) |
Common macros for easy access of capstone arm64 members when having: cs_insn *insn
Definition in file arm_accessors64.h.
| #define HASMEMINDEX64 | ( | x | ) | (insn->detail->arm64.operands[x].mem.index != ARM64_REG_INVALID) |
Definition at line 18 of file arm_accessors64.h.
| #define IMM64 | ( | x | ) | (ut64)(insn->detail->arm64.operands[x].imm) |
Definition at line 12 of file arm_accessors64.h.
| #define INSOP64 | ( | x | ) | insn->detail->arm64.operands[x] |
Definition at line 13 of file arm_accessors64.h.
| #define ISIMM64 | ( | x | ) | (insn->detail->arm64.operands[x].type == ARM64_OP_IMM) |
Definition at line 20 of file arm_accessors64.h.
| #define ISMEM64 | ( | x | ) | (insn->detail->arm64.operands[x].type == ARM64_OP_MEM) |
Definition at line 22 of file arm_accessors64.h.
| #define ISPOSTINDEX64 | ( | ) | (((OPCOUNT64() == 3) && (ISIMM64(2)) && (ISWRITEBACK64())) || ((OPCOUNT64() == 4) && (ISIMM64(3)) && (ISWRITEBACK64()))) |
Definition at line 33 of file arm_accessors64.h.
| #define ISPREINDEX64 | ( | ) | (((OPCOUNT64() == 2) && (ISMEM64(1)) && (ISWRITEBACK64())) || ((OPCOUNT64() == 3) && (ISMEM64(2)) && (ISWRITEBACK64()))) |
Definition at line 32 of file arm_accessors64.h.
| #define ISREG64 | ( | x | ) | (insn->detail->arm64.operands[x].type == ARM64_OP_REG) |
Definition at line 21 of file arm_accessors64.h.
| #define ISWRITEBACK64 | ( | ) | (insn->detail->arm64.writeback == true) |
Definition at line 31 of file arm_accessors64.h.
| #define LSHIFT2_64 | ( | x | ) | 0 |
Definition at line 27 of file arm_accessors64.h.
| #define MEMDISP64 | ( | x | ) | (ut64) insn->detail->arm64.operands[x].mem.disp |
Definition at line 19 of file arm_accessors64.h.
| #define OPCOUNT64 | ( | ) | insn->detail->arm64.op_count |
Definition at line 29 of file arm_accessors64.h.
| #define REGBASE64 | ( | x | ) | insn->detail->arm64.operands[x].mem.base |
Definition at line 16 of file arm_accessors64.h.
| #define REGID64 | ( | x | ) | insn->detail->arm64.operands[x].reg |
Definition at line 15 of file arm_accessors64.h.