Rizin
unix-like reverse engineering framework and cli tools
bp_ppc.c
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2010 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_ppc_bps[] = {
8  /* XXX: FIX those are not really breakpoint opcodes at all */
9  { 32, 4, 0, (const ut8 *)"\x00\x00\x00\x0d" }, // little endian
10  { 32, 4, 1, (const ut8 *)"\x0d\x00\x00\x00" }, // big endian
11  { 0, 0, 0, NULL }
12 };
13 
15  .name = "ppc",
16  .arch = "ppc",
17  .nbps = 2,
18  .bps = rz_bp_plugin_ppc_bps,
19 };
20 
21 #ifndef RZ_PLUGIN_INCORE
24  .data = &rz_bp_plugin_ppc,
25  .version = RZ_VERSION
26 };
27 #endif
static struct rz_bp_arch_t rz_bp_plugin_ppc_bps[]
Definition: bp_ppc.c:7
RZ_API RzLibStruct rizin_plugin
Definition: bp_ppc.c:22
struct rz_bp_plugin_t rz_bp_plugin_ppc
Definition: bp_ppc.c:14
#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