MemoryWritePid

Trait MemoryWritePid 

Source
pub trait MemoryWritePid: GetContext {
    // Required method
    fn try_write_bytes_pid(
        &self,
        ctx: &Self::Context,
        address: u64,
        buffer: &[u8],
    ) -> Option<()>;
}
Expand description

A trait that mirrors the MemoryWrite trait but writes to a PID instead of directly from the implementor. Note that the Pid type is not necessarily a Windows process ID. One may implement this using another form of identifier such as a dirbase.

Required Methods§

Source

fn try_write_bytes_pid( &self, ctx: &Self::Context, address: u64, buffer: &[u8], ) -> Option<()>

Writes memory to the process with the given PID.

Implementors§