mirror of
https://github.com/radareorg/radare2-r2pipe.git
synced 2026-11-08 09:39:32 -10:00
10 lines
135 B
Python
10 lines
135 B
Python
#!/usr/bin/env python3
|
|
import r2pipe
|
|
|
|
r2 = r2pipe.open("#!pipe")
|
|
|
|
_dis = r2.cmd("pd 5")
|
|
print(_dis)
|
|
_hex = r2.cmd("px 64")
|
|
print(_hex)
|