mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-24 06:48:46 +00:00
Empty reg profile for null plugin (#8944)
This commit is contained in:
parent
18a61de043
commit
8893fbd3a6
@ -1,4 +1,4 @@
|
||||
/* radare - LGPL - Copyright 2014 - jn */
|
||||
/* radare - LGPL - Copyright 2014 - jn, maijin */
|
||||
|
||||
#include <r_anal.h>
|
||||
#include <r_types.h>
|
||||
@ -10,6 +10,10 @@ static int null_anal(RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *data, int l
|
||||
return op->size = 1;
|
||||
}
|
||||
|
||||
static int null_set_reg_profile(RAnal* anal){
|
||||
return r_reg_set_profile_string(anal->reg, "");
|
||||
}
|
||||
|
||||
RAnalPlugin r_anal_plugin_null = {
|
||||
.name = "null",
|
||||
.desc = "Fallback/Null analysis plugin",
|
||||
@ -17,6 +21,7 @@ RAnalPlugin r_anal_plugin_null = {
|
||||
.license = "LGPL3",
|
||||
.bits = 8|16|32|64, /* is this used? */
|
||||
.op = &null_anal,
|
||||
.set_reg_profile = &null_set_reg_profile,
|
||||
};
|
||||
|
||||
#ifndef CORELIB
|
||||
|
Loading…
x
Reference in New Issue
Block a user