radare2/libr/debug
pancake 13774c2bd5 * More fixes for busybox tr
* Initial blind implementation of w32 debugger
  - r_cons now handles ^C in w32 console
  - not yet tested, just blind code typing
* Implement 'dp' command to list processes (pids)
  - Implemented RDebugPid stuff
  - dp=394 # is used to attach
  - dp 0 # to list all attachable pids
  - dp # list current used pid
* Added not-yet-implemented threads() callback in RDebugHandle
* Fix r_list_free callback handler
* Fix again the 'dr=' command :/
* Cleanup the help of 'd?' and 'dm', 'dp'
* Use -O2 by default ?
2010-03-05 01:49:12 +01:00
..
p * More fixes for busybox tr 2010-03-05 01:49:12 +01:00
t * Initial working implementation of the r_diff with delta in C 2010-02-05 12:21:37 +01:00
arg.c * Implement 'dr=' command to print regs in columns 2010-03-04 02:11:54 +01:00
debug.c * Huge refactoring on r_syscall 2010-03-04 01:46:25 +01:00
handle.c * Added DEFAULT_ARCH for mips and powerpc 2010-02-22 04:02:13 +01:00
Makefile * Huge refactoring on r_syscall 2010-03-04 01:46:25 +01:00
map.c * Integrate backtrace into the debugging backend 2010-03-02 11:18:49 +01:00
pid.c * More fixes for busybox tr 2010-03-05 01:49:12 +01:00
README * Fix delta seeking (do not allow seeks <0) 2010-02-02 11:09:52 +01:00
reg.c * More fixes for busybox tr 2010-03-05 01:49:12 +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)