This commit is contained in:
Álvaro Felipe Melchor 2015-07-12 19:58:36 +02:00 committed by pancake
parent ecf6792318
commit f81bfc57f6

View File

@ -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;