mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-11 00:56:52 +00:00
Coverity patch for VLE (#7904)
This commit is contained in:
parent
7dbc50ed5f
commit
59d6141658
@ -524,7 +524,7 @@ static int analop_vle(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len)
|
||||
case R_ANAL_OP_TYPE_XOR:
|
||||
break;
|
||||
default:
|
||||
eprintf ("Missing R_ANAL_OP_TYPE (0x%X)\n", op->type);
|
||||
eprintf ("Missing an R_ANAL_OP_TYPE");
|
||||
break;
|
||||
}
|
||||
vle_free (instr);
|
||||
|
@ -639,6 +639,7 @@ static void set_ppc_fields(vle_t * v, const ppc_t* p, ut32 data) {
|
||||
v->fields[2].value = (data & 0xF800) >> 11;
|
||||
v->fields[2].type = p->types[2];
|
||||
}
|
||||
break;
|
||||
case F_DCI:
|
||||
{
|
||||
v->n = 1;
|
||||
@ -847,4 +848,4 @@ void vle_snprint(char* str, int size, ut64 addr, vle_t* instr) {
|
||||
add += snprintf (str + add, bufsize - add, " cr%u", instr->fields[i].value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user