radare2/r2-bindings/python/test-r_bp.py

10 lines
159 B
Python
Executable File

#!/usr/bin/python2
from r2.r_core import RBreakpoint
a = RBreakpoint ()
a.use ('x86')
a.add_hw (0x8048000, 10, 0)
a.add_sw (0x8048000, 10, 0)
a.list (False)