mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-05 20:17:43 +00:00
703ae61623
- Little integration from r_core_cmd (dm show maps) - Uses RList. Allows user and system defined maps - Added backend implementation for BSD and Linux - mem.c -> map.c * Fix some more random warnings - Rename rList into RList .. as it should be - Added r_list_unlink method * Rename MALLOC_STRUCT as R_NEW ..shorter and smarter - Needs propagation --HG-- rename : libr/debug/mem.c => libr/debug/map.c |
||
---|---|---|
.. | ||
p | ||
t | ||
debug.c | ||
handle.c | ||
Makefile | ||
map.c | ||
pid.c | ||
README | ||
reg.c |
Debugger API for radare2 ======================== We need to connect multiple pieces... debugger engine: vm, qemu, bochs, ptrace, mach, w32dbg... controlflow commands: (should be splitted in two layers) - continue -- low level - step -- low level - trace --- high level one - ... the control flow commands depend on other stuff to decide how to work..this is for example if the arch doesnt supports continuation, we should provide a step based continue. The same when a watchpoint is activated and the arch didnt supports hardware regs for this purpose. We also need a load/store/dump/restore functions to move the program from one engine to another (ptrace -> qemu).. we should provide a way for all this operations between them. [continue] |--- check if bp api allow us to continue or we should step into.. |--- check if debug plugin supports continue [getregs] |--- r_reg give us a list of registers | - dr (show bitsize debug registers) // 32 by default | - dr 32 (show 32 bit debug registers) // depends on size | - dr:eax (show 'eax' register value) | - dr:al (show 8bit register 'al') | - dr eax=33 (set 'eax' register value)