Rizin
unix-like reverse engineering framework and cli tools
cs_x86_op Struct Reference

Instruction operand. More...

#include <x86.h>

Public Attributes

x86_op_type type
 operand type More...
 
union {
   x86_reg   reg
 register value for REG operand More...
 
   int64_t   imm
 immediate value for IMM operand More...
 
   x86_op_mem   mem
 base/index/scale/disp value for MEM operand More...
 
}; 
 
uint8_t size
 size of this operand (in bytes). More...
 
uint8_t access
 
x86_avx_bcast avx_bcast
 AVX broadcast type, or 0 if irrelevant. More...
 
bool avx_zero_opmask
 AVX zero opmask {z}. More...
 

Detailed Description

Instruction operand.

Definition at line 275 of file x86.h.

Member Data Documentation

◆ 

union { ... }

◆ access

uint8_t cs_x86_op::access

How is this operand accessed? (READ, WRITE or READ|WRITE) This field is combined of cs_ac_type. NOTE: this field is irrelevant if engine is compiled in DIET mode.

Definition at line 289 of file x86.h.

◆ avx_bcast

x86_avx_bcast cs_x86_op::avx_bcast

AVX broadcast type, or 0 if irrelevant.

Definition at line 292 of file x86.h.

◆ avx_zero_opmask

bool cs_x86_op::avx_zero_opmask

AVX zero opmask {z}.

Definition at line 295 of file x86.h.

◆ imm

int64_t cs_x86_op::imm

immediate value for IMM operand

Definition at line 279 of file x86.h.

◆ mem

x86_op_mem cs_x86_op::mem

base/index/scale/disp value for MEM operand

Definition at line 280 of file x86.h.

Referenced by capstone.m68k.M68KOp::mem().

◆ reg

x86_reg cs_x86_op::reg

register value for REG operand

Definition at line 278 of file x86.h.

◆ size

uint8_t cs_x86_op::size

size of this operand (in bytes).

Definition at line 284 of file x86.h.

◆ type


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