[−][src]Trait process_memory::CopyAddress
A trait that defines that it is possible to copy some memory from something represented by a type into a buffer.
Required methods
fn copy_address(&self, addr: usize, buf: &mut [u8]) -> Result<()>
Copy an address into user-defined buffer.
Provided methods
fn get_offset(&self, offsets: &[usize]) -> Result<usize>
Get the actual memory location from a set of offsets.
If copy_address
is already defined, then we can provide a standard implementation that
will work across all operating systems.