mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
Esil equivalent of x86 cmp instruction now set the overflow flag. (#5851)
This commit is contained in:
parent
59bf09a66a
commit
8abffec384
@ -732,7 +732,7 @@ static void anop_esil (RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len
|
||||
} else {
|
||||
char *src = getarg (&gop, 1, 0, NULL);
|
||||
char *dst = getarg (&gop, 0, 0, NULL);
|
||||
esilprintf (op, "%s,%s,==,$z,zf,=,$b%d,cf,=,$p,pf,=,$s,sf,=",
|
||||
esilprintf (op, "%s,%s,==,$z,zf,=,$b%d,cf,=,$p,pf,=,$s,sf,=,$o,of,=",
|
||||
src, dst, (INSOP(0).size*8));
|
||||
free (src);
|
||||
free (dst);
|
||||
|
Loading…
Reference in New Issue
Block a user