mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-04 12:27:40 +00:00
26 lines
510 B
C
26 lines
510 B
C
/* radare - LGPL - Copyright 2009-2015 - pancake */
|
|
|
|
#include <r_bp.h>
|
|
#include <r_lib.h>
|
|
|
|
static struct r_bp_arch_t r_bp_plugin_x86_bps[] = {
|
|
{ 0, 1, 0, (const ut8*)"\xcc" }, // valid for 16, 32, 64
|
|
{ 0, 2, 0, (const ut8*)"\xcd\x03" },
|
|
{ 0, 0, 0, NULL },
|
|
};
|
|
|
|
struct r_bp_plugin_t r_bp_plugin_x86 = {
|
|
.name = "x86",
|
|
.arch = "x86",
|
|
.nbps = 2,
|
|
.bps = r_bp_plugin_x86_bps,
|
|
};
|
|
|
|
#ifndef CORELIB
|
|
RLibStruct radare_plugin = {
|
|
.type = R_LIB_TYPE_BP,
|
|
.data = &r_bp_plugin_x86,
|
|
.version = R2_VERSION
|
|
};
|
|
#endif
|