pub fn read_linear(
state: &CpuState,
mem: &dyn GuestMemory,
linear: u64,
buf: &mut [u8],
) -> usizeExpand description
Reads guest memory at a linear address, crossing page boundaries as needed.
Returns the number of bytes actually read (fewer than buf.len() if a
later page is not mapped).