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

Public Member Functions

void read ()
 
List getFieldOrder ()
 

Public Attributes

int type
 
OpValue value
 

Detailed Description

Definition at line 44 of file Ppc.java.

Member Function Documentation

◆ getFieldOrder()

List capstone.Ppc.Operand.getFieldOrder ( )
inline

Definition at line 62 of file Ppc.java.

62  {
63  return Arrays.asList("type", "value");
64  }

◆ read()

void capstone.Ppc.Operand.read ( )
inline

Definition at line 48 of file Ppc.java.

48  {
49  readField("type");
50  if (type == PPC_OP_MEM)
51  value.setType(MemType.class);
52  if (type == PPC_OP_CRX)
53  value.setType(CrxType.class);
54  if (type == PPC_OP_IMM || type == PPC_OP_REG)
55  value.setType(Integer.TYPE);
56  if (type == PPC_OP_INVALID)
57  return;
58  readField("value");
59  }
OpValue value
Definition: Ppc.java:46
@ PPC_OP_REG
= CS_OP_REG (Register operand).
Definition: ppc.h:44
@ PPC_OP_IMM
= CS_OP_IMM (Immediate operand).
Definition: ppc.h:45
@ PPC_OP_MEM
= CS_OP_MEM (Memory operand).
Definition: ppc.h:46
@ PPC_OP_CRX
Condition Register field.
Definition: ppc.h:47
@ PPC_OP_INVALID
= CS_OP_INVALID (Uninitialized).
Definition: ppc.h:43

References PPC_OP_CRX, PPC_OP_IMM, PPC_OP_INVALID, PPC_OP_MEM, PPC_OP_REG, capstone.Ppc.Operand.type, and capstone.Ppc.Operand.value.

Member Data Documentation

◆ type

◆ value

OpValue capstone.Ppc.Operand.value

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