SkillAgentSearch skills...

Procmaps

Provides Rust interface to get current memory mappings for a given process

Install / Use

/learn @jabedude/Procmaps
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Rust procmaps - retrieve process memory maps

A library for retrieving information about memory mappings for Unix processes.

To use, add this line to your Cargo.toml:

[dependencies]
procmaps = "0.4.2"

Example

use procmaps::Mappings;

let mappings = Mappings::from_pid(pid).unwrap();
for mapping in mappings.iter() {
    if mapping.perms.executable {
        println!("Region: {:x} - {:x} Size: {}", mapping.base, mapping.ceiling, mapping.size_of_mapping());
    }
}
View on GitHub
GitHub Stars17
CategoryDevelopment
Updated1y ago
Forks2

Languages

Rust

Security Score

65/100

Audited on May 23, 2024

No findings