radare2/libr/bp/p/bp_bf.c
pancake a43068bde0 * brainfuck debugger is finally usable
- Added breakpoint and code analysis plugins for bf
  - *mem++ != mem[0]++
  - Full register get/set support
  - Support for step and continue-until-syscall
  - Work in progress breakpoint support
* Added bfvm_reset() hooked to plugin->kill
* Enhacements in r_core and r_debug for better debugger support
  - Added plugin->step_over delegate
2011-10-09 04:15:32 +02:00

25 lines
461 B
C

/* radare - LGPL - Copyright 2011 pancake<nopcode.org> */
#include <r_bp.h>
#include <r_lib.h>
static struct r_bp_arch_t r_bp_plugin_bf_bps[] = {
{ 1, 0, (const ut8*)"\xff" },
{ 1, 0, (const ut8*)"\x00" },
{ 0, 0, NULL },
};
struct r_bp_plugin_t r_bp_plugin_bf = {
.name = "bf",
.arch = "bf",
.nbps = 2,
.bps = r_bp_plugin_bf_bps,
};
#ifndef CORELIB
struct r_lib_struct_t radare_plugin = {
.type = R_LIB_TYPE_BP,
.data = &r_bp_plugin_bf,
};
#endif