radare2/swig/python/test-r_bp.py
pancake c326db2e77 * Integration with valaswig for many libraries
- typedef function pointers in r_search (rSearchCallback)
  - hide R_API stuff as it should in many .h files
  - typedef classes in rCore, rSearch
* Add perl, ruby, python examples for r_asm and r_bp
  - Many other libraries are compiled by default
* Adapt r_asm vapi to the current C api (massemble returns rAsmCode)
  - dynamically allocatable string buffer
* Rename seek->offset to avoid collisions
2010-01-12 02:12:18 +01:00

10 lines
143 B
Python
Executable File

#!/usr/bin/python
from r_bp import *
a = rBreakpoint ()
a.use ('x86')
a.add_hw (0x8048000, 10, 0)
a.add_sw (0x8048000, 10, 0)
a.list (False)