Yet anohter radare2 python bindings.
Project description
pyr2
Yet another r2 python bindings.
Build Instructions
Clone the repository and submodules.
git clone https://github.com/wtdcode/pyr2
cd pyr2
git submodule update --init --recursive
Since radare2 chooses meson
as their alternative building system, the first step is install meson
.
pip3 install meson
Build the package.
python3 setup.py build
Install and use.
# Or pip3 install -e .
pip3 install .
Example
from r2 import R2
r2 = R2()
fh = r2.r_core_open_file("/bin/ls", 0b101, 0)
r2.r_core_load_bin("/bin/ls")
r2.r_core_cmd_str("ieq")
r2.r_core_cmd_str("aaa")
print(r2.r_core_cmd_str("pdj"))
r2.r_core_file_close(fh)
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.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for pyr2-1.0.0rc1-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a891217fa281c67c723148f80338263d3f5c809deda0c4ca61e4001676bdd27f |
|
MD5 | d7895b93b86c15407a54edb4a3612aa1 |
|
BLAKE2b-256 | 13a9e90bc5d26b3499af0d7142f5acbfa83969074b0399f4241039be00403386 |
Close
Hashes for pyr2-1.0.0rc1-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 612bb304959345dc1ea67bfb53add0e87d04200be8c0ef478338835c6174b233 |
|
MD5 | 471976e122cee9e844c00a33c4e70c27 |
|
BLAKE2b-256 | 40652d24fcf764aab2f9b7b604b57d7cbbb695aa95d9f7d13bbd3e5af3ff7dbc |
Close
Hashes for pyr2-1.0.0rc1-py3-none-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | affc1926c8db66f6a22241fd5345f03967986b5b9f27900ffa601d48bd421ec9 |
|
MD5 | 2a9fc25a2754c8fa05f57668817722b6 |
|
BLAKE2b-256 | ebc9c3a186f0a326b3e74339ef4d92f4455214372fba5ab1ed91557fcff4ef9f |