Implementing a new debug plugin

Interface

libr/include/r_debug.h

Internals

libr/bp

The "bp" subsystem of radare implements all the necessary details for dealing with breakpoints on any given architecture. It handles managing the list of breakpoints and more.

libr/debug/debug.c

Main functionalities of the debug are implemented here

libr/core/cmd_debug.c

The debugger shell commands are implemented here

Debug Plugins

  • Brainfuck: libr/debug/p/debug_bf.c
  • Bochs: libr/debug/p/debug_bochs.c
  • ESIL: libr/debug/p/debug_esil.c
  • GDB: libr/debug/p/debug_gdb.c
  • Native: libr/debug/p/debug_native.c
  • QNX: libr/debug/p/debug_qnx.c
  • RAP: libr/debug/p/debug_rap.c
  • WinDBG: libr/debug/p/debug_windbg.c

TODO: add a short documentation, links to the code

results matching ""

    No results matching ""