unicorn icon indicating copy to clipboard operation
unicorn copied to clipboard

When running x86 simulation in unrestricted mode, there's an EFLAGS error upon exiting

Open IntThree opened this issue 1 year ago • 3 comments

Executing this code: uc_emu_start(lpCip, -1, NULL, 0);

When running to int 3, the EFLAGS are being altered to an incorrect value.

Please check the code.

IntThree avatar Apr 12 '24 20:04 IntThree

00007ff66a36ebc5 inc r11b w:[rflags = 287] 00007ff66a36ebc8 jnp 0x7ff66a31a599 r:[rflags = a93]

IntThree avatar Apr 12 '24 21:04 IntThree

ERROR: shl al, cl al == 1 cl == 7

EFLAGS ERROR!!!! al = 80 eflags = A80

IntThree avatar Apr 14 '24 06:04 IntThree

#1933

wtdcode avatar Apr 14 '24 06:04 wtdcode