proc-maps

Crates.ioproc-maps
lib.rsproc-maps
version0.4.0
sourcesrc
created_at2018-08-06 20:38:39.409623
updated_at2024-10-17 11:50:00.61922
descriptionHelper crate for getting virtual memory maps from processes
homepagehttps://github.com/rbspy/proc-maps
repositoryhttps://github.com/rbspy/proc-maps
max_upload_size
id77801
size198,587
Julia Evans (jvns)

documentation

README

proc-maps

Build Status crates.io docs.rs

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.

Commit count: 114

cargo fmt