pub fn fetch(
state: &CpuState,
mem: &dyn GuestMemory,
original_byte: &dyn Fn(u64) -> Option<u8>,
) -> Option<Decoded>Expand description
Fetches and decodes the instruction at the vCPU’s current CS:RIP.
original_byte is consulted for every guest-physical byte fetched: if
it returns Some(b), b replaces what is in memory. The tracer uses
this to hide its own int3 breakpoints from the decoder.