Python bindings for procmaps.rs
Project description
procmaps.py
Python bindings for procmaps.rs.
Installation
procmaps.py is available for Python 3.7+ via pip:
$ pip install procmaps
Usage
import procmaps # also: from_path, from_str maps = procmaps.from_pid(9001) for map_ in maps: # `in` can be used to check address inclusion if 0xfeedface in map_: print("this map contains some address!") # see dict(map_) for all attributes print(f"{map_.begin_address}: {map_.pathname}")
Development
procmaps.py uses PyO3 for binding Rust
to Python. It uses Maturin to coerce the
Rust build into a pip
and PyPI-compatible wheel.
Assuming that you have Rust and a relatively recent Python 3 installed, the following should just work:
$ make develop
$ source env/bin/activate
A local build of procmaps.py will be created and installed in your virtual environment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Built Distributions
Close
Hashes for procmaps-0.6.0-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bcdf2cdc60084e1b8007abc22c34b349b0e99277110111884f752530b6ae53f |
|
MD5 | 1342370c8b4ba3f9b08918595508213d |
|
BLAKE2-256 | 162e62ac2d437f47f50bf54dffcc0bd198bc9776a715185e39d64d9fe4e62753 |
Close
Hashes for procmaps-0.6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26285c107265b2f12f791c4e5b1c25538904a9ff8dbb1c745a1242cd3c928c4f |
|
MD5 | 17d14225ad5e52a49d2892e2f2c12a3b |
|
BLAKE2-256 | a28de57b71cfdce26893cbb3e3afe540ecc750fd78331d9c8157682aedb2240c |
Close
Hashes for procmaps-0.6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3b6f97f36b7c8ed33f01c4d4525a8e43ea4b4837478f49b1b5866edfe8185de |
|
MD5 | b09cb480cc6ecd33deb70fa02649b00f |
|
BLAKE2-256 | 78b29808934e6c33aaa57dd35fd67ed3f5c86103cba54fae0c748fc7c5d914f9 |
Close
Hashes for procmaps-0.6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cad62aad30132229c61d01f21291a12c5268bbd4655b5bce47645fa90bf98f3 |
|
MD5 | 38b97aded72b17350f950ba0f8cf15a4 |
|
BLAKE2-256 | 2f87a93f87ce5bb84f224c77b945bba1f7a681c014d2bb09571a9b01c32fbab3 |
Close
Hashes for procmaps-0.6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8482c02b270a868b2727b83f25756f2d55e91f98d02f6dfd3cecabe459e95de |
|
MD5 | d644d767417fe4ebeafd421eae71238e |
|
BLAKE2-256 | 0cf13ff3aef8314f12fde9ddd53355807748db1cb283d61f18e8c35b639e213f |