diff --git a/libr/core/cmd_anal.c b/libr/core/cmd_anal.c index b9a9c975ec..435836a59b 100644 --- a/libr/core/cmd_anal.c +++ b/libr/core/cmd_anal.c @@ -368,12 +368,12 @@ static void core_anal_bytes(RCore *core, const ut8 *buf, int len, int nops, int } for (i = idx = ret = 0; idx < len && (!nops || (nops && i < nops)); i++, idx += ret) { addr = core->offset + idx; - esilstr = R_STRBUF_SAFEGET (&op.esil); // TODO: use more anal hints hint = r_anal_hint_get (core->anal, addr); r_asm_set_pc (core->assembler, addr); 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); + esilstr = R_STRBUF_SAFEGET (&op.esil); if (ret < 1 && fmt != 'd') { eprintf ("Oops at 0x%08" PFMT64x " (", core->offset + idx); for (i = idx, j = 0; i < core->blocksize && j < 3; ++i, ++j) {