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

Public Member Functions

void read ()
 
List getFieldOrder ()
 

Public Attributes

int type
 
OpValue value
 

Detailed Description

Definition at line 34 of file Xcore.java.

Member Function Documentation

◆ getFieldOrder()

List capstone.Xcore.Operand.getFieldOrder ( )
inline

Definition at line 50 of file Xcore.java.

50  {
51  return Arrays.asList("type", "value");
52  }

◆ read()

void capstone.Xcore.Operand.read ( )
inline

Definition at line 38 of file Xcore.java.

38  {
39  readField("type");
40  if (type == XCORE_OP_MEM)
41  value.setType(MemType.class);
42  if (type == XCORE_OP_IMM || type == XCORE_OP_REG)
43  value.setType(Integer.TYPE);
44  if (type == XCORE_OP_INVALID)
45  return;
46  readField("value");
47  }
@ XCORE_OP_REG
= CS_OP_REG (Register operand).
Definition: xcore.h:20
@ XCORE_OP_IMM
= CS_OP_IMM (Immediate operand).
Definition: xcore.h:21
@ XCORE_OP_MEM
= CS_OP_MEM (Memory operand).
Definition: xcore.h:22
@ XCORE_OP_INVALID
= CS_OP_INVALID (Uninitialized).
Definition: xcore.h:19

References capstone.Xcore.Operand.type, capstone.Xcore.Operand.value, XCORE_OP_IMM, XCORE_OP_INVALID, XCORE_OP_MEM, and XCORE_OP_REG.

Member Data Documentation

◆ type

◆ value

OpValue capstone.Xcore.Operand.value

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