mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 10:33:30 +00:00
honor retn <num> in esil x86 cs (#7457)
This commit is contained in:
parent
6a9579097c
commit
f355ad66a1
@ -957,8 +957,14 @@ static void anop_esil (RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len
|
||||
case X86_INS_IRETD:
|
||||
case X86_INS_IRETQ:
|
||||
case X86_INS_SYSRET:
|
||||
{
|
||||
int cleanup = 0;
|
||||
if (INSOPS > 0) {
|
||||
cleanup = (int)INSOP(0).imm;
|
||||
}
|
||||
esilprintf (op, "%s,[%d],%s,=,%d,%s,+=",
|
||||
sp, rs, pc, rs, sp);
|
||||
sp, rs, pc, rs + cleanup, sp);
|
||||
}
|
||||
break;
|
||||
case X86_INS_INT3:
|
||||
esilprintf (op, "3,$");
|
||||
|
Loading…
Reference in New Issue
Block a user