Registry / utility / proc-maps

proc-maps

JSON →
library0.4.0rscratesunverified

Helper crate for getting virtual memory maps from processes.

# Cargo.toml [dependencies] proc-maps = "0.4.0"
INSTALL
IMPORT
SIG · PROC-MAPS
P
proc-maps
utilityrustv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

get_process_maps
use proc_maps::get_process_maps;

Retrieve and print memory maps of the current process.

use proc_maps::get_process_maps; fn main() -> Result<(), Box<dyn std::error::Error>> { let maps = get_process_maps(std::process::id())?; for map in maps { println!("{:?}", map); } Ok(()) }
Debug
Known issues
gotchaOnly works on Linux and macOS; not available on Windows.
fix
Use platform-specific APIs or a cross-platform alternative.
affects: >=0.0.0
Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
proc-maps — cargo add proc-maps · libregistry