Struct iced_x86::InstructionInfo [−][src]
pub struct InstructionInfo { /* fields omitted */ }
Expand description
Contains information about an instruction, eg. read/written registers, read/written RFLAGS
bits, CPUID
feature bit, etc.
Created by an InstructionInfoFactory
.
Implementations
Gets all accessed registers. This method doesn’t return all accessed registers if is_save_restore_instruction()
is true
.
Some instructions have a r16
/r32
operand but only use the low 8 bits of the register. In that case
this method returns the 8-bit register even if it’s SPL
, BPL
, SIL
, DIL
and the
instruction was decoded in 16 or 32-bit mode. This is more accurate than returning the r16
/r32
register. Example instructions that do this: PINSRB
, ARPL
Gets all accessed memory locations
Operand #0 access
Operand #1 access
Operand #2 access
Operand #3 access
Operand #4 access
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InstructionInfo
impl Send for InstructionInfo
impl Sync for InstructionInfo
impl Unpin for InstructionInfo
impl UnwindSafe for InstructionInfo
Blanket Implementations
Mutably borrows from an owned value. Read more