Trait remoteprocess::ProcessMemory[][src]

pub trait ProcessMemory {
    fn read(&self, addr: usize, buf: &mut [u8]) -> Result<(), Error>;

    fn copy(&self, addr: usize, length: usize) -> Result<Vec<u8>, Error> { ... }
fn copy_struct<T>(&self, addr: usize) -> Result<T, Error> { ... }
fn copy_pointer<T>(&self, ptr: *const T) -> Result<T, Error> { ... }
fn copy_vec<T>(&self, addr: usize, length: usize) -> Result<Vec<T>, Error> { ... } }

Required methods

Copies memory from another process into an already allocated byte buffer

Provided methods

Copies a series of bytes from another process. Main difference with ‘read’ is that this will allocate memory for you

Copies a structure from another process

Given a pointer that points to a struct in another process, returns the struct

Copies a series of bytes from another process into a vector of structures of type T.

Implementors