radare2/swig/python/test-r_core.py

9 lines
131 B
Python

from r2.r_core import *
from r2.r_cons import *
core = RCore()
core.file_open("/bin/ls", False)
core.cmd0("pd 8");
RCons.flush()