Build Status Build status

A crate to read memory from another process. Code originally taken from Julia Evans' excellent ruby-stacktrace project.

Example

```rust,norun extern crate readprocess_memory;

use std::io; use readprocessmemory::{Pid, TryIntoProcessHandle, CopyAddress, copy_address};

// Try to read size bytes at address from the process pid. fn readsomememory(pid: Pid, address: usize, size: usize) -> io::Result<()> { let handle = try!(pid.tryintoprocesshandle()); let _bytes = try!(copyaddress(address, size, &handle)); println!("Read {} bytes", size); Ok(()) } ```