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

Public Member Functions

void read ()
 
List getFieldOrder ()
 

Public Attributes

int type
 
OpValue value
 
byte size
 
byte access
 
int avx_bcast
 
boolean avx_zero_opmask
 

Detailed Description

Definition at line 53 of file X86.java.

Member Function Documentation

◆ getFieldOrder()

List capstone.X86.Operand.getFieldOrder ( )
inline

Definition at line 75 of file X86.java.

75  {
76  return Arrays.asList("type", "value", "size", "access", "avx_bcast", "avx_zero_opmask");
77  }

◆ read()

void capstone.X86.Operand.read ( )
inline

Definition at line 61 of file X86.java.

61  {
62  super.read();
63  if (type == X86_OP_MEM)
64  value.setType(MemType.class);
65  if (type == X86_OP_IMM)
66  value.setType(Long.TYPE);
67  if (type == X86_OP_REG)
68  value.setType(Integer.TYPE);
69  if (type == X86_OP_INVALID)
70  return;
71  readField("value");
72  }
@ X86_OP_IMM
= CS_OP_IMM (Immediate operand).
Definition: x86.h:161
@ X86_OP_INVALID
= CS_OP_INVALID (Uninitialized).
Definition: x86.h:159
@ X86_OP_REG
= CS_OP_REG (Register operand).
Definition: x86.h:160
@ X86_OP_MEM
= CS_OP_MEM (Memory operand).
Definition: x86.h:162
OpValue value
Definition: X86.java:55

References capstone.X86.Operand.type, capstone.X86.Operand.value, X86_OP_IMM, X86_OP_INVALID, X86_OP_MEM, and X86_OP_REG.

Member Data Documentation

◆ access

byte capstone.X86.Operand.access

Definition at line 57 of file X86.java.

◆ avx_bcast

int capstone.X86.Operand.avx_bcast

Definition at line 58 of file X86.java.

◆ avx_zero_opmask

boolean capstone.X86.Operand.avx_zero_opmask

Definition at line 59 of file X86.java.

◆ size

byte capstone.X86.Operand.size

Definition at line 56 of file X86.java.

◆ type

◆ value

OpValue capstone.X86.Operand.value

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