mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-26 00:55:59 +00:00
Fix master werror issue adding a default switch block
This commit is contained in:
parent
0f6ec113d2
commit
87f28192a8
@ -975,7 +975,7 @@ static int i8051_op(RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *buf, int len
|
||||
break;
|
||||
}
|
||||
|
||||
switch(_8051_ops[i].instr) {
|
||||
switch (_8051_ops[i].instr) {
|
||||
case OP_PUSH:
|
||||
op->stackop = R_ANAL_STACK_INC;
|
||||
op->stackptr = 1;
|
||||
@ -1023,6 +1023,9 @@ static int i8051_op(RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *buf, int len
|
||||
op->jump = arg_offset (addr + op->size, buf[op->size - 1]);
|
||||
op->fail = addr + op->size;
|
||||
break;
|
||||
default:
|
||||
// TODO
|
||||
break;
|
||||
}
|
||||
|
||||
if (op->ptr != -1 && op->refptr == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user