mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-12 07:26:42 +00:00
Fix #2870
This commit is contained in:
parent
ecf6792318
commit
f81bfc57f6
@ -258,9 +258,10 @@ static void core_anal_bytes (RCore *core, const ut8 *buf, int len, int nops, int
|
||||
ret = r_asm_disassemble (core->assembler, &asmop, buf+idx, len-idx);
|
||||
ret = r_anal_op (core->anal, &op, core->offset+idx, buf + idx, len-idx);
|
||||
if (ret<1 && fmt!='d') {
|
||||
eprintf ("Oops at 0x%08"PFMT64x" (%02x %02x %02x ...)\n",
|
||||
core->offset+idx, buf[idx],
|
||||
buf[idx+1], buf[idx+2]);
|
||||
if (idx+2 < core->blocksize)
|
||||
eprintf ("Oops at 0x%08"PFMT64x" (%02x %02x %02x ...)\n",
|
||||
core->offset+idx, buf[idx],
|
||||
buf[idx+1], buf[idx+2]);
|
||||
break;
|
||||
}
|
||||
size = (hint&&hint->size)? hint->size: op.size;
|
||||
|
Loading…
Reference in New Issue
Block a user