Output delay in json op analysis.

This commit is contained in:
Y. Sapir 2015-06-20 22:39:52 +03:00 committed by pancake
parent 8f25a9b344
commit f2e78299a9

View File

@ -302,6 +302,7 @@ static void core_anal_bytes (RCore *core, const ut8 *buf, int len, int nops, int
r_cons_printf ("\"cycles\":%d,", op.cycles);
if (op.failcycles)
r_cons_printf ("failcycles: %d\n", op.failcycles);
r_cons_printf ("\"delay\":%d,", op.delay);
r_cons_printf ("\"stack\":\"%s\",", r_anal_stackop_tostring (op.stackop));
r_cons_printf ("\"cond\":%d,",
(op.type &R_ANAL_OP_TYPE_COND)?1: op.cond);