Trait rust_debug::call_stack::MemoryAccess[][src]

pub trait MemoryAccess {
    fn get_address(
        &mut self,
        address: &u32,
        num_bytes: usize
    ) -> Option<Vec<u8>>; }
Expand description

A trait used for reading memory of the debug target.

Required methods

Reads a number of bytes from the debugged target.

Description:

  • address - The address that will be read.
  • num_bytes - The number of bytes that will be read.

This function is used for reading num_bytes bytes in the debugged target system at the address address. This is done when evaluating variables that are stored in the memory of the debugged target.

Implementors