Rizin
unix-like reverse engineering framework and cli tools
bp_bf.c
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2011 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_bf_bps
[] = {
8
{ 0, 1, 0, (
const
ut8
*)
"\xff"
},
9
{ 0, 1, 0, (
const
ut8
*)
"\x00"
},
10
{ 0, 0, 0,
NULL
},
11
};
12
13
struct
rz_bp_plugin_t
rz_bp_plugin_bf
= {
14
.
name
=
"bf"
,
15
.arch =
"bf"
,
16
.nbps = 2,
17
.bps =
rz_bp_plugin_bf_bps
,
18
};
19
20
#ifndef RZ_PLUGIN_INCORE
21
RZ_API
RzLibStruct
rizin_plugin
= {
22
.
type
=
RZ_LIB_TYPE_BP
,
23
.data = &
rz_bp_plugin_bf
,
24
.version =
RZ_VERSION
25
};
26
#endif
rz_bp_plugin_bf_bps
static struct rz_bp_arch_t rz_bp_plugin_bf_bps[]
Definition:
bp_bf.c:7
rizin_plugin
RZ_API RzLibStruct rizin_plugin
Definition:
bp_bf.c:21
rz_bp_plugin_bf
struct rz_bp_plugin_t rz_bp_plugin_bf
Definition:
bp_bf.c:13
RZ_API
#define RZ_API
Definition:
core_plugin_example.c:36
NULL
#define NULL
Definition:
cris-opc.c:27
ut8
uint8_t ut8
Definition:
lh5801.h:11
rz_bp.h
rz_lib.h
RZ_LIB_TYPE_BP
@ RZ_LIB_TYPE_BP
Definition:
rz_lib.h:78
RZ_VERSION
#define RZ_VERSION
Definition:
rz_version.h:8
rz_bp_arch_t
Definition:
rz_bp.h:18
rz_bp_plugin_t
Definition:
rz_bp.h:33
rz_bp_plugin_t::name
char * name
Definition:
rz_bp.h:34
rz_lib_struct_t
Definition:
rz_lib.h:57
rz_lib_struct_t::type
int type
Definition:
rz_lib.h:58
librz
bp
p
bp_bf.c
Generated by
1.9.1