pub struct Decoded {
pub instr: Instruction,
pub bytes: [u8; 15],
pub len: u8,
pub linear_rip: u64,
pub physical_rip: Option<u64>,
pub fetches: Vec<(u64, Option<u64>, u32)>,
}Expand description
A decoded instruction and the bytes it came from.
Fields§
§instr: InstructionThe iced-x86 instruction.
bytes: [u8; 15]Raw bytes (the first len are meaningful).
len: u8Length in bytes.
linear_rip: u64Linear address of the first byte.
physical_rip: Option<u64>Guest-physical address of the first byte, if mapped.
fetches: Vec<(u64, Option<u64>, u32)>The instruction-fetch accesses: one, or two if the instruction
straddles a page boundary. (linear, physical, size).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Decoded
impl RefUnwindSafe for Decoded
impl Send for Decoded
impl Sync for Decoded
impl Unpin for Decoded
impl UnsafeUnpin for Decoded
impl UnwindSafe for Decoded
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