Trait memlib::MemoryReadPid
source · [−]pub trait MemoryReadPid: GetContext {
fn try_read_bytes_into_pid(
&self,
ctx: &Self::Context,
address: u64,
buffer: &mut [u8]
) -> Option<()>;
}Expand description
A trait that mirrors the MemoryRead trait but reads from 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.