Metadata-Version: 2.1
Name: r2papi
Version: 0.1.0
Summary: High level API on top of r2pipe
Home-page: https://rada.re
Author: radare2
Project-URL: Source, https://github.com/radare/radare2-r2papi/
Description-Content-Type: text/markdown
Requires-Dist: r2pipe

This is PoC of the future autogenerated API bindings for r2pipe.

We need to have a common API definition for all languages across r2pipe.

```python
import r2pipe
from r2api import R2Api

r = R2Ap (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()
```
