mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-05 12:08:24 +00:00
3bc0212ee6
- accepts --static and --shared to setup which plugins you want to build statically in the library or dynamically - normalize .mk and plugin file names to adopt a single standard - WARNING: huge commit * Added 'mk/sloc.mk' with 'sloc' target to count lines with sloccount everywhere (yeah!) --HG-- rename : libr/asm/p/x86bea.mk => libr/asm/p/x86_bea.mk rename : libr/asm/p/x86nasm.mk => libr/asm/p/x86_nasm.mk rename : libr/asm/p/x86olly.mk => libr/asm/p/x86_olly.mk rename : libr/config.h => libr/config.h.head rename : libr/config.mk => libr/config.mk.head rename : libr/debug/p/dbg_gdb.c => libr/debug/p/debug_gdb.c rename : libr/debug/p/dbg_ptrace.c => libr/debug/p/debug_ptrace.c rename : libr/debug/p/dbg_libgdbwrap/Makefile => libr/debug/p/libgdbwrap/Makefile rename : libr/debug/p/dbg_libgdbwrap/README => libr/debug/p/libgdbwrap/README rename : libr/debug/p/dbg_libgdbwrap/client.c => libr/debug/p/libgdbwrap/client.c rename : libr/debug/p/dbg_libgdbwrap/gdbwrapper.c => libr/debug/p/libgdbwrap/gdbwrapper.c rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-internals.h => libr/debug/p/libgdbwrap/include/gdbwrapper-internals.h rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-stddef.h => libr/debug/p/libgdbwrap/include/gdbwrapper-stddef.h rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper.h => libr/debug/p/libgdbwrap/include/gdbwrapper.h rename : libr/debug/p/dbg_libgdbwrap/include/libaspect.h => libr/debug/p/libgdbwrap/include/libaspect.h rename : libr/debug/p/dbg_libgdbwrap/include/libe2dbg.h => libr/debug/p/libgdbwrap/include/libe2dbg.h rename : libr/debug/p/dbg_libgdbwrap/include/revm.h => libr/debug/p/libgdbwrap/include/revm.h rename : libr/debug/p/dbg_libgdbwrap/interface.c => libr/debug/p/libgdbwrap/interface.c rename : libr/io/p/dbg.mk => libr/io/p/debug.mk rename : libr/io/p/io_dbg.c => libr/io/p/io_debug.c |
||
---|---|---|
.. | ||
p | ||
t | ||
debug.c | ||
handle.c | ||
Makefile | ||
pid.c | ||
README | ||
reg.c |
r_debug ======= 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 allows 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)