remove hex in json for axtj

This commit is contained in:
Jeffrey Crowell 2015-07-11 01:25:27 -04:00
parent 1755a81172
commit 900f5c3cd4

View File

@ -2026,7 +2026,7 @@ static boolt cmd_anal_refs(RCore *core, const char *input) {
char str[512];
r_parse_filter (core->parser, core->flags,
asmop.buf_asm, str, sizeof (str));
r_cons_printf ("{\"from\":0x%"PFMT64x",\"type\":\"%c\",\"opcode\":\"%s\"}%s",
r_cons_printf ("{\"from\":%llu,\"type\":\"%c\",\"opcode\":\"%s\"}%s",
ref->addr, ref->type, str, iter->n?",":"");
}
r_cons_printf("]");