Crates.io | proc-maps |
lib.rs | proc-maps |
version | 0.3.2 |
source | src |
created_at | 2018-08-06 20:38:39.409623 |
updated_at | 2023-09-27 00:05:12.996336 |
description | Helper crate for getting virtual memory maps from processes |
homepage | https://github.com/rbspy/proc-maps |
repository | https://github.com/rbspy/proc-maps |
max_upload_size | |
id | 77801 |
size | 195,707 |
This crate supports reading virtual memory maps from another process - and supports Linux, macOS, Windows, and FreeBSD operating systems.
Example:
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());
}
This code was originally developed by Julia Evans as part of the rbspy project: https://github.com/rbspy/rbspy.
Release under the MIT License.