Fix last covs

This commit is contained in:
pancake 2018-01-19 16:05:10 +01:00
parent 7f21683630
commit be5f6a87d2
2 changed files with 3 additions and 4 deletions

View File

@ -638,7 +638,7 @@ static int arcompact_op(RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *data, in
}
/* TODO: fill in the extansion functions */
// op->type = R_ANAL_OP_TYPE_UNK;
op->type = R_ANAL_OP_TYPE_SHL;
// op->type = R_ANAL_OP_TYPE_SHL;
op->type = R_ANAL_OP_TYPE_SHR;
break;
case 0x09:

View File

@ -647,13 +647,12 @@ static void sdb_concat_by_path(Sdb *s, const char *path) {
R_API void r_core_anal_type_init(RCore *core) {
Sdb *types = NULL;
const char *anal_arch = NULL, *os = NULL;
const char *dir_prefix = r_config_get (core->config, "dir.prefix");
int bits = 0;
char *dbpath;
if (!core || !core->anal) {
return;
}
bits = core->assembler->bits;
const char *dir_prefix = r_config_get (core->config, "dir.prefix");
int bits = core->assembler->bits;
types = core->anal->sdb_types;
// make sure they are empty this is initializing
sdb_reset (types);