Rizin
unix-like reverse engineering framework and cli tools
bp_x86.c
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2009-2015 pancake <pancake@nopcode.org>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #include <rz_bp.h>
5 #include <rz_lib.h>
6 
7 static struct rz_bp_arch_t rz_bp_plugin_x86_bps[] = {
8  { 0, 1, 0, (const ut8 *)"\xcc" }, // valid for 16, 32, 64
9  { 0, 2, 0, (const ut8 *)"\xcd\x03" },
10  { 0, 0, 0, NULL },
11 };
12 
14  .name = "x86",
15  .arch = "x86",
16  .nbps = 2,
17  .bps = rz_bp_plugin_x86_bps,
18 };
19 
20 #ifndef RZ_PLUGIN_INCORE
23  .data = &rz_bp_plugin_x86,
24  .version = RZ_VERSION
25 };
26 #endif
struct rz_bp_plugin_t rz_bp_plugin_x86
Definition: bp_x86.c:13
static struct rz_bp_arch_t rz_bp_plugin_x86_bps[]
Definition: bp_x86.c:7
RZ_API RzLibStruct rizin_plugin
Definition: bp_x86.c:21
#define RZ_API
#define NULL
Definition: cris-opc.c:27
uint8_t ut8
Definition: lh5801.h:11
@ RZ_LIB_TYPE_BP
Definition: rz_lib.h:78
#define RZ_VERSION
Definition: rz_version.h:8
char * name
Definition: rz_bp.h:34