https://github.com/rbspy/proc-maps
Read virtual memory maps from another process
https://github.com/rbspy/proc-maps
process rust virtual-memory
Last synced: 6 months ago
JSON representation
Read virtual memory maps from another process
- Host: GitHub
- URL: https://github.com/rbspy/proc-maps
- Owner: rbspy
- License: other
- Created: 2018-08-01T02:04:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-20T01:03:23.000Z (about 1 year ago)
- Last Synced: 2025-10-10T18:50:02.452Z (6 months ago)
- Topics: process, rust, virtual-memory
- Language: Rust
- Homepage:
- Size: 124 KB
- Stars: 78
- Watchers: 3
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: License.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
proc-maps
=========
[](https://github.com/rbspy/proc-maps/actions/workflows/ci.yml)
[](https://crates.io/crates/proc-maps)
[](https://docs.rs/proc-maps)
This crate supports reading virtual memory maps from another process - and supports
Linux, macOS, Windows, and FreeBSD operating systems.
## Examples
```rust
use proc_maps::get_process_maps;
let maps = get_process_maps(pid)?;
for map in maps {
println!("Filename {:?} Address {} Size {}", map.filename(), map.start(), map.size());
}
```
```sh
cargo run --example print_maps
```
## Credits
This code was originally developed by [Julia Evans](https://github.com/jvns) as part of the rbspy project: https://github.com/rbspy/rbspy.
## License
Released under the MIT License.