Pipe interface for radare2
Project description
r2pipe for Python
Interact with radare2 using the #!pipe command or in standalone scripts that communicate with local or remote r2 via pipe, tcp or http.
Installation
$ pip install r2pipe
or
$ pip3 install r2pipe
Usage example:
import r2pipe
r2 = r2pipe.open("/bin/ls")
r2.cmd('aa')
print(r2.cmd("afl"))
print(r2.cmdj("aflj")) # evaluates JSONs and returns an object
print(r2.cmdj("ij").core.format) # shows file format
r2.quit()
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 Distribution
r2pipe-1.9.8.tar.gz
(23.8 kB
view details)
File details
Details for the file r2pipe-1.9.8.tar.gz.
File metadata
- Download URL: r2pipe-1.9.8.tar.gz
- Upload date:
- Size: 23.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87ac3a69cd6466e330364bb47995bf49c2a87aadaf6497b9cd7fdd9dcf24c1df
|
|
| MD5 |
f05c777a249a8cc295be99f0bf15e9d5
|
|
| BLAKE2b-256 |
00681bd2e0d709f3b0d8e112f143797c92074e8b76ad6c1fb44e05420e085e4e
|