mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-07 13:51:16 +00:00
c326db2e77
- 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
10 lines
143 B
Python
Executable File
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)
|