mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-09 23:11:41 +00:00
a43068bde0
- 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
25 lines
461 B
C
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
|