[][src]Struct xori::arch::x86::archx86::Instructionx86

pub struct Instructionx86<'a> {
    pub cinfo: CodeInfo<'a>,
    pub start: u64,
    pub cursor: u64,
    pub end: u64,
    pub length: usize,
    pub size: Sizesx86,
    pub mode: Modex86,
    pub prefix: PrefixStatex86,
    pub opcode: Opcodex86,
    pub register: Option<Registerx86>,
    pub immediates: Option<Immediatex86>,
    pub mod_rm: Option<ModRmx86>,
    pub display: Option<OperandDisplay>,
    pub instr_index: u16,
    pub instr_spec: Option<u16>,
    pub operand_size: u16,
    pub operands: Option<[OperandSetPair; 6]>,
}

The internal instruction container

Fields

The start of the instruction, usable with the reader

the current position in the reader

The last byte of the opcode, not counting any ModR/M extension

The length of the instruction, in bytes

The mode to disassemble for (64-bit, protected, real)

holds the state of the prefixes

opcode state

various critical pieces of data, in bytes

Immediates. There can be two in some cases

Portions of the ModR/M byte

The specification for how to extract and interpret one operand.

Methods

impl<'a> Instructionx86<'a>
[src]

Trait Implementations

impl<'a> Debug for Instructionx86<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Instructionx86<'a>

impl<'a> Sync for Instructionx86<'a>

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more