mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-13 10:24:45 +00:00
Do not print ao's type2 if it's null
This commit is contained in:
parent
3511c9198f
commit
e68b5f2463
@ -404,7 +404,12 @@ static void core_anal_bytes(RCore *core, const ut8 *buf, int len, int nops, int
|
||||
printline ("refptr", "%d\n", op.refptr);
|
||||
printline ("size", "%d\n", size);
|
||||
printline ("type", "%s\n", r_anal_optype_to_string (op.type));
|
||||
printline ("type2", "%s\n", r_anal_optype_to_string (op.type2));
|
||||
{
|
||||
const char *t2 = r_anal_optype_to_string (op.type2);
|
||||
if (t2 && strcmp (t2, "null")) {
|
||||
printline ("type2", "%s\n", t2);
|
||||
}
|
||||
}
|
||||
if (*R_STRBUF_SAFEGET (&op.esil))
|
||||
printline ("esil", "%s\n", R_STRBUF_SAFEGET (&op.esil));
|
||||
if (hint && hint->jump != UT64_MAX)
|
||||
|
Loading…
x
Reference in New Issue
Block a user