1 /* radare2 - LGPL - Copyright 2010-2015 - pancake */
2 
3 #include <r_bp.h>
4 #include <r_lib.h>
5 
6 static struct r_bp_arch_t r_bp_plugin_mips_bps[] = {
7 	{ 32, 4, 0, (const ut8*)"\x0d\x00\x00\x00" },
8 	{ 32, 4, 1, (const ut8*)"\x00\x00\x00\x0d" },
9 	{ 64, 4, 0, (const ut8*)"\x0d\x00\x00\x00" },
10 	{ 64, 4, 1, (const ut8*)"\x00\x00\x00\x0d" },
11 	{ 0, 0, 0, NULL }
12 };
13 
14 struct r_bp_plugin_t r_bp_plugin_mips = {
15 	.name = "mips",
16 	.arch = "mips",
17 	.nbps = 10,
18 	.bps = r_bp_plugin_mips_bps,
19 };
20 
21 #ifndef R2_PLUGIN_INCORE
22 R_API RLibStruct radare_plugin = {
23 	.type = R_LIB_TYPE_BP,
24 	.data = &r_bp_plugin_mips,
25 	.version = R2_VERSION
26 };
27 #endif
28