rbspy / proc-maps

Read virtual memory maps from another process

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Read virtual memory maps from another process

License:Other


Languages

Language:Rust 99.9%Language:Shell 0.1%Language:C 0.0%