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

Public Member Functions

void read ()
 
List getFieldOrder ()
 

Public Attributes

int type
 
OpValue value
 

Detailed Description

Definition at line 34 of file Systemz.java.

Member Function Documentation

◆ getFieldOrder()

List capstone.Systemz.Operand.getFieldOrder ( )
inline

Definition at line 52 of file Systemz.java.

52  {
53  return Arrays.asList("type", "value");
54  }

◆ read()

void capstone.Systemz.Operand.read ( )
inline

Definition at line 38 of file Systemz.java.

38  {
39  readField("type");
40  if (type == SYSZ_OP_MEM)
41  value.setType(MemType.class);
42  if (type == SYSZ_OP_IMM)
43  value.setType(Long.TYPE);
44  if (type == SYSZ_OP_REG || type == SYSZ_OP_ACREG)
45  value.setType(Integer.TYPE);
46  if (type == SYSZ_OP_INVALID)
47  return;
48  readField("value");
49  }
@ SYSZ_OP_MEM
= CS_OP_MEM (Memory operand).
Definition: systemz.h:42
@ SYSZ_OP_IMM
= CS_OP_IMM (Immediate operand).
Definition: systemz.h:41
@ SYSZ_OP_ACREG
Access register operand.
Definition: systemz.h:43
@ SYSZ_OP_INVALID
= CS_OP_INVALID (Uninitialized).
Definition: systemz.h:39
@ SYSZ_OP_REG
= CS_OP_REG (Register operand).
Definition: systemz.h:40

References SYSZ_OP_ACREG, SYSZ_OP_IMM, SYSZ_OP_INVALID, SYSZ_OP_MEM, SYSZ_OP_REG, capstone.Systemz.Operand.type, and capstone.Systemz.Operand.value.

Member Data Documentation

◆ type

◆ value

OpValue capstone.Systemz.Operand.value

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