radare2/libr/debug
pancake/fluendo c02ef87ac2 * Add support to ARM for the debugger
- asm.arm plugin is now embedded into r_asm as static plugin
* Added register alias names for r_reg
  - Add register names for x86/32/64/arm
  - pc, sp, bp, a0, a1, a2, a3
* Do not build lua5.1 if no lib found
* Enable cfg.ffio in debug mode
* Some code simplification in r_asm
  - Fix a negative offset bug in elf on ARM binaries
2010-02-03 14:34:00 +01:00
..
p * Add support to ARM for the debugger 2010-02-03 14:34:00 +01:00
t * Add support to ARM for the debugger 2010-02-03 14:34:00 +01:00
debug.c * Add support to ARM for the debugger 2010-02-03 14:34:00 +01:00
handle.c * Fix delta seeking (do not allow seeks <0) 2010-02-02 11:09:52 +01:00
Makefile * Add --without-pic configure flag to build radare2 2010-01-21 21:22:30 +01:00
mem.c * Initial working implementation of software breakpoints 2010-01-21 02:38:52 +01:00
pid.c * Initial r_io_bind'ization of r_bin .. not yet working 2009-09-10 20:51:34 +00:00
README * Fix delta seeking (do not allow seeks <0) 2010-02-02 11:09:52 +01:00
reg.c * Add some missing ${EXT_EXE} in t/ 2010-01-19 11:25:17 +01:00

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)