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

Public Member Functions

void read ()
 
List getFieldOrder ()
 

Public Attributes

int type
 
OpValue value
 

Detailed Description

Definition at line 33 of file Sparc.java.

Member Function Documentation

◆ getFieldOrder()

List capstone.Sparc.Operand.getFieldOrder ( )
inline

Definition at line 49 of file Sparc.java.

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

◆ read()

void capstone.Sparc.Operand.read ( )
inline

Definition at line 37 of file Sparc.java.

37  {
38  readField("type");
39  if (type == SPARC_OP_MEM)
40  value.setType(MemType.class);
41  if (type == SPARC_OP_IMM || type == SPARC_OP_REG)
42  value.setType(Integer.TYPE);
43  if (type == SPARC_OP_INVALID)
44  return;
45  readField("value");
46  }
@ SPARC_OP_MEM
= CS_OP_MEM (Memory operand).
Definition: sparc.h:74
@ SPARC_OP_IMM
= CS_OP_IMM (Immediate operand).
Definition: sparc.h:73
@ SPARC_OP_INVALID
= CS_OP_INVALID (Uninitialized).
Definition: sparc.h:71
@ SPARC_OP_REG
= CS_OP_REG (Register operand).
Definition: sparc.h:72

References SPARC_OP_IMM, SPARC_OP_INVALID, SPARC_OP_MEM, SPARC_OP_REG, capstone.Sparc.Operand.type, and capstone.Sparc.Operand.value.

Member Data Documentation

◆ type

◆ value

OpValue capstone.Sparc.Operand.value

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