6 import com.sun.jna.Structure;
7 import com.sun.jna.Union;
10 import java.util.Arrays;
16 public static class MemType extends Structure {
23 return Arrays.asList(
"base",
"index",
"disp");
27 public static class OpValue extends Union {
39 return Arrays.asList(
"reg",
"imm",
"fp",
"mem",
"pstate",
"sys",
"prefetch",
"barrier");
43 public static class OpShift extends Structure {
49 return Arrays.asList(
"type",
"value");
53 public static class Operand extends Structure {
67 value.setType(Double.TYPE);
69 value.setType(Integer.TYPE);
77 readField(
"vector_index");
82 return Arrays.asList(
"vector_index",
"vas",
"vess",
"shift",
"ext",
"type",
"value");
100 readField(
"_update_flags");
101 readField(
"_writeback");
102 readField(
"op_count");
110 return Arrays.asList(
"cc",
"_update_flags",
"_writeback",
"op_count",
"op");
@ ARM64_OP_FP
= CS_OP_FP (Floating-Point operand).
@ ARM64_OP_PSTATE
PState operand.
@ ARM64_OP_BARRIER
Memory barrier operand (ISB/DMB/DSB instructions).
@ ARM64_OP_REG
= CS_OP_REG (Register operand).
@ ARM64_OP_INVALID
= CS_OP_INVALID (Uninitialized).
@ ARM64_OP_PREFETCH
Prefetch operand (PRFM).
@ ARM64_OP_MEM
= CS_OP_MEM (Memory operand).
@ ARM64_OP_SYS
SYS operand for IC/DC/AT/TLBI instructions.
@ ARM64_OP_REG_MRS
MRS register operand.
@ ARM64_OP_CIMM
C-Immediate.
@ ARM64_OP_IMM
= CS_OP_IMM (Immediate operand).
@ ARM64_OP_REG_MSR
MSR register operand.
OpInfo(UnionOpInfo op_info)