Struct rydis::DecodedInstruction
source · pub struct DecodedInstruction {
pub prefixes: Prefixes,
pub mnemonic: Mnemonic,
pub operands: DecodedInstructionOperands,
pub invisible_operands: DecodedInstructionOperands,
pub operand_width: u8,
pub address_width: u8,
pub accessed_flags: &'static AccessedFlags,
pub len: usize,
}Expand description
information about a decoded instruction.
Fields§
§prefixes: Prefixesthe instruction’s prefixes.
mnemonic: Mnemonicthe instruction’s mnemonic.
operands: DecodedInstructionOperandsthe instruction’s explicit operands, which are the operands that are specified in the instruction’s textual representation.
invisible_operands: DecodedInstructionOperandsthe invisible operands of this instruction, which are operands that are used even though they are not directly specified in the instruction’s textual representation.
operand_width: u8the width of the instruction’s operands, in bytes
address_width: u8the address width of the instruction, in bytes
accessed_flags: &'static AccessedFlagsthe flags accessed by the instruction.
len: usizethe length of the instruction, in bytes.
Implementations§
source§impl DecodedInstruction
impl DecodedInstruction
sourcepub fn to_instruction(&self) -> Instruction
pub fn to_instruction(&self) -> Instruction
converts this decoded instruction to an Instruction.
Trait Implementations§
source§impl Clone for DecodedInstruction
impl Clone for DecodedInstruction
source§fn clone(&self) -> DecodedInstruction
fn clone(&self) -> DecodedInstruction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DecodedInstruction
impl Debug for DecodedInstruction
source§impl PartialEq for DecodedInstruction
impl PartialEq for DecodedInstruction
source§fn eq(&self, other: &DecodedInstruction) -> bool
fn eq(&self, other: &DecodedInstruction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DecodedInstruction
impl StructuralEq for DecodedInstruction
impl StructuralPartialEq for DecodedInstruction
Auto Trait Implementations§
impl RefUnwindSafe for DecodedInstruction
impl Send for DecodedInstruction
impl Sync for DecodedInstruction
impl Unpin for DecodedInstruction
impl UnwindSafe for DecodedInstruction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more