Go to the documentation of this file.
11 cs_regs regs_read, regs_write;
12 uint8_t regs_read_count, regs_write_count;
16 result = (
char *)malloc(
sizeof(
char));
20 if (ins->detail == NULL)
23 arm64 = &(ins->detail->arm64);
27 for (
i = 0;
i <
arm64->op_count;
i++) {
39 #if defined(_KERNEL_MODE)
41 add_str(&
result,
" ; operands[%u].type: FP = <float_point_unsupported>",
i);
52 if (
op->mem.disp != 0)
95 add_str(&
result,
" ; Shift: type = %u, value = %u",
op->shift.type,
op->shift.value);
106 if (
op->vector_index != -1)
110 if (
arm64->update_flags)
113 if (
arm64->writeback)
119 if (!
cs_regs_access(*
handle, ins, regs_read, ®s_read_count, regs_write, ®s_write_count)) {
120 if (regs_read_count) {
122 for(
i = 0;
i < regs_read_count;
i++) {
127 if (regs_write_count) {
129 for(
i = 0;
i < regs_write_count;
i++) {
@ ARM64_OP_FP
= CS_OP_FP (Floating-Point operand).
@ ARM64_OP_PREFETCH
Prefetch operand (PRFM).
@ ARM64_OP_REG_MRS
MRS register operand.
@ ARM64_OP_REG
= CS_OP_REG (Register operand).
@ ARM64_OP_SYS
SYS operand for IC/DC/AT/TLBI instructions.
@ CS_AC_READ
Operand read from memory or register.
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_regs_access(csh ud, const cs_insn *insn, cs_regs regs_read, uint8_t *regs_read_count, cs_regs regs_write, uint8_t *regs_write_count)
@ ARM64_OP_REG_MSR
MSR register operand.
@ ARM64_OP_PSTATE
PState operand.
const CAPSTONE_EXPORT char *CAPSTONE_API cs_reg_name(csh ud, unsigned int reg)
void add_str(char **src, const char *format,...)
char * get_detail_arm64(csh *handle, cs_mode mode, cs_insn *ins)
@ ARM64_OP_CIMM
C-Immediate.
@ ARM64_OP_BARRIER
Memory barrier operand (ISB/DMB/DSB instructions).
@ ARM64_OP_IMM
= CS_OP_IMM (Immediate operand).
@ ARM64_OP_MEM
= CS_OP_MEM (Memory operand).
@ CS_AC_WRITE
Operand write to memory or register.
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:43