Type Definition benfred_read_process_memory::ProcessHandle [−][src]
type ProcessHandle = mach_port_name_t;
On OS X a ProcessHandle
is a mach port.
Trait Implementations
impl CopyAddress for ProcessHandle
[src]
impl CopyAddress for ProcessHandle
Use vm_read
to read memory from another process on OS X.
fn copy_address(&self, addr: usize, buf: &mut [u8]) -> Result<()>
[src]
fn copy_address(&self, addr: usize, buf: &mut [u8]) -> Result<()>
Try to copy buf.len()
bytes from addr
in the process self
, placing them in buf
.
impl TryIntoProcessHandle for ProcessHandle
[src]
impl TryIntoProcessHandle for ProcessHandle
Trivial implementation of TryIntoProcessHandle
.
A ProcessHandle
is always usable.
fn try_into_process_handle(&self) -> Result<ProcessHandle>
[src]
fn try_into_process_handle(&self) -> Result<ProcessHandle>
Attempt to get a ProcessHandle
from self
.