Struct burst::x86::X86Instruction [] [src]

#[repr(C)]
pub struct X86Instruction { pub operation: InstructionOperation, pub operands: [X86Operand; 3], pub flags: u32, pub segment: SegmentRegister, pub length: usize, }

An instruction.

An instruction represents the full amount of information that we have about the instruction that has been disassembled from the binary opcode data.

Fields

Which InstructionOperation this instruction is.

The operands for this instruction.

A bit field that may contain the flags described by X86Flag.

The segment prefix. This will be either SegmentPrefix::DEFAULT or a segment register (like SegmentPrefix::ES).

How many bytes in the binary opcode data are used by this instruction.

This can be used to continue disassembling at the next instruction. An invalid instruction may have a value of 0 here.

Trait Implementations

impl Default for X86Instruction
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for X86Instruction
[src]

[src]

Formats the value using the given formatter. Read more

impl Instruction for X86Instruction
[src]

The type of the operation for this instruction.

The type of the operands for this instruction.

[src]

The operation carried out by this instruction.

[src]

The mnemonic for this instruction.

[src]

The operands for this instruction.

[src]

How many bytes in the binary opcode data are used by this instruction. Read more