14 releases
Uses old Rust 2015
0.4.0 | Oct 17, 2024 |
---|---|
0.3.2 | Sep 27, 2023 |
0.3.1 | Apr 26, 2023 |
0.3.0 | Oct 2, 2022 |
0.1.5 | Nov 20, 2018 |
#40 in Unix APIs
46,519 downloads per month
Used in 29 crates
(19 directly)
180KB
6K
SLoC
proc-maps
This crate supports reading virtual memory maps from another process - and supports Linux, macOS, Windows, and FreeBSD operating systems.
Examples
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());
}
cargo run --example print_maps <PID>
Credits
This code was originally developed by Julia Evans as part of the rbspy project: https://github.com/rbspy/rbspy.
License
Released under the MIT License.
Dependencies
~0–7MB
~38K SLoC