mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-06 04:59:43 +00:00
27 lines
618 B
C
27 lines
618 B
C
/* radare - LGPL - Copyright 2010 pancake<nopcode.org> */
|
|
|
|
#include <r_bp.h>
|
|
#include <r_lib.h>
|
|
|
|
static struct r_bp_arch_t r_bp_plugin_ppc_bps[] = {
|
|
/* XXX: FIX those are not really breakpoint opcodes at all */
|
|
{ 32, 4, 0, (const ut8*)"\x00\x00\x00\x0d" }, // little endian
|
|
{ 32, 4, 1, (const ut8*)"\x0d\x00\x00\x00" }, // big endian
|
|
{ 0, 0, 0, NULL }
|
|
};
|
|
|
|
struct r_bp_plugin_t r_bp_plugin_ppc = {
|
|
.name = "ppc",
|
|
.arch = "ppc",
|
|
.nbps = 2,
|
|
.bps = r_bp_plugin_ppc_bps,
|
|
};
|
|
|
|
#ifndef CORELIB
|
|
struct r_lib_struct_t radare_plugin = {
|
|
.type = R_LIB_TYPE_BP,
|
|
.data = &r_bp_plugin_ppc,
|
|
.version = R2_VERSION
|
|
};
|
|
#endif
|