Rizin
unix-like reverse engineering framework and cli tools
capstone.Arm.Operand Class Reference
Inheritance diagram for capstone.Arm.Operand:

Public Member Functions

void read ()
 
List getFieldOrder ()
 

Public Attributes

int vector_index
 
OpShift shift
 
int type
 
OpValue value
 
boolean subtracted
 
byte access
 
byte neon_lane
 

Detailed Description

Definition at line 52 of file Arm.java.

Member Function Documentation

◆ getFieldOrder()

List capstone.Arm.Operand.getFieldOrder ( )
inline

Definition at line 82 of file Arm.java.

82  {
83  return Arrays.asList("vector_index", "shift", "type", "value", "subtracted", "access", "neon_lane");
84  }

◆ read()

void capstone.Arm.Operand.read ( )
inline

Definition at line 61 of file Arm.java.

61  {
62  readField("vector_index");
63  readField("type");
64  if (type == ARM_OP_MEM)
65  value.setType(MemType.class);
66  if (type == ARM_OP_FP)
67  value.setType(Double.TYPE);
68  if (type == ARM_OP_PIMM || type == ARM_OP_IMM || type == ARM_OP_CIMM)
69  value.setType(Integer.TYPE);
70  if (type == ARM_OP_REG)
71  value.setType(Integer.TYPE);
72  if (type == ARM_OP_INVALID)
73  return;
74  readField("value");
75  readField("shift");
76  readField("subtracted");
77  readField("access");
78  readField("neon_lane");
79  }
@ ARM_OP_IMM
= CS_OP_IMM (Immediate operand).
Definition: arm.h:164
@ ARM_OP_REG
= CS_OP_REG (Register operand).
Definition: arm.h:163
@ ARM_OP_CIMM
C-Immediate (coprocessor registers)
Definition: arm.h:167
@ ARM_OP_PIMM
P-Immediate (coprocessor registers)
Definition: arm.h:168
@ ARM_OP_INVALID
= CS_OP_INVALID (Uninitialized).
Definition: arm.h:162
@ ARM_OP_MEM
= CS_OP_MEM (Memory operand).
Definition: arm.h:165
@ ARM_OP_FP
= CS_OP_FP (Floating-Point operand).
Definition: arm.h:166
OpValue value
Definition: Arm.java:56

References ARM_OP_CIMM, ARM_OP_FP, ARM_OP_IMM, ARM_OP_INVALID, ARM_OP_MEM, ARM_OP_PIMM, ARM_OP_REG, capstone.Arm.Operand.type, and capstone.Arm.Operand.value.

Member Data Documentation

◆ access

byte capstone.Arm.Operand.access

Definition at line 58 of file Arm.java.

◆ neon_lane

byte capstone.Arm.Operand.neon_lane

Definition at line 59 of file Arm.java.

◆ shift

OpShift capstone.Arm.Operand.shift

Definition at line 54 of file Arm.java.

◆ subtracted

boolean capstone.Arm.Operand.subtracted

Definition at line 57 of file Arm.java.

◆ type

◆ value

OpValue capstone.Arm.Operand.value

◆ vector_index

int capstone.Arm.Operand.vector_index

Definition at line 53 of file Arm.java.


The documentation for this class was generated from the following file: