R2Papi for Python
This is PoC of the future autogenerated API bindings for r2pipe.
Usage example
We need to have a common API definition for all languages across r2pipe.
import r2pipe
from r2papi import R2Api
r = R2Api (r2pipe.open("/bin/ls"))
if r.info().stripped:
print "This binary is stripped"
r.searchIn('io.sections.exec')
r.analyzeCalls()
print r.at('entry0').hexdump(16)
print r.at('sym.imp.setenv').hexdump(16)
print r.at('entry0').disasm(10)
r.seek('entry0');
r.analyzeFunction()
print r.disasmFunction()
for fcn in r.functions():
print fcn.name
r[0:10]
# '\x7fELF\x02\x01\x01\x00\x00\x00'
r[1]
# 'E'
r.quit()
Metadata
Release files for r2papi 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| r2papi-0.1.2.tar.gz | 13.2 kB | Without provenance | Details for r2papi-0.1.2.tar.gz |
Release files / r2papi-0.1.2.tar.gz
| Download URL | r2papi-0.1.2.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
101d7f4ab2769b715bce96705f840cb1473d93ecefaeaa66ea5392ad7ed4a5e0
|
|
BLAKE2b-256 checksum How to use checksums |
08ff615d0d349dc7407dd015e5ecd17fc3ed470b77231dac729e902d0fd9283d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for r2papi 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.