mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-07 22:36:52 +00:00
Add to field in axfj
This commit is contained in:
parent
bf15457b96
commit
2021f4985d
@ -4121,8 +4121,8 @@ static bool cmd_anal_refs(RCore *core, const char *input) {
|
||||
r_core_read_at (core, ref->at, buf, 12);
|
||||
r_asm_set_pc (core->assembler, ref->at);
|
||||
r_asm_disassemble (core->assembler, &asmop, buf, 12);
|
||||
r_cons_printf ("{\"from\":%" PFMT64d ",\"type\":\"%c\",\"opcode\":\"%s\"}%s",
|
||||
ref->at, ref->type, asmop.buf_asm, iter->n? ",": "");
|
||||
r_cons_printf ("{\"from\":%" PFMT64d ",\"to\":%" PFMT64d ",\"type\":\"%c\",\"opcode\":\"%s\"}%s",
|
||||
ref->at, ref->addr, ref->type, asmop.buf_asm, iter->n? ",": "");
|
||||
}
|
||||
r_cons_print ("]\n");
|
||||
} else if (input[1] == '*') { // axf*
|
||||
|
Loading…
x
Reference in New Issue
Block a user