Giter Site home page Giter Site logo

procmaps's Introduction

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());
    }
}

procmaps's People

Contributors

jabedude avatar tomstoneham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

isgasho zaporter

procmaps's Issues

Update nom to fix Rust compatibility warning?

Firstly, thank you for your work on procmaps. I've been using it in my project and it's been very helpful.

When I build my project I get the warning:
warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3

I see nom is up to v7.1.3, so I think would likely fix it.

New crates.io release?

Hey, thanks so much for writing this crate, super useful to have such a nice library for this ๐Ÿ˜„

I was just wondering, would you be able to publish a release to crates.io which reflects the current state of the repository? I'm able to run cargo test on the master branch of this repo without issues, but version 0.4.0 on crates.io doesn't have the fixes introduced in commit 728e9f3, and so it won't build on current nightly Rust. I don't think any changes need to be made to the code other than bumping the version.

Thanks again, and have a great day! โค๏ธ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.