Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
IntThree opened this issue Apr 12, 2024 · 3 comments

Comments

@IntThree
Copy link

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
Copy link
Author

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

@IntThree
Copy link
Author

IntThree commented Apr 14, 2024

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

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

@wtdcode
Copy link
Member

wtdcode commented Apr 14, 2024

#1933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants