We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Environment information
Describe the bug
Looks like the emulator doesn't execute properly the POPFD instruction. Data is read from the stack but the stack pointer isn't incremented
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The ESP should be incremented after a POPFD instruction
Screenshots
Additional context
The three screenshots are in sequence, to show the behavior reported.
The text was updated successfully, but these errors were encountered:
I don't know much about ESIL (...), but from a quick inspection I find that a PUSHFD instruction is like
PUSHFD
0x000072e9 4,esp,-=,eflags,esp,=[4]
so the first sub-operation (microcode?) is a decrement of ESP, which is fine. Although a POPFD is only
POPFD
0x0000732e esp,[4],eflags,=
Ah-ha! Maybe it should be followed by something like 4,esp,+= ?
4,esp,+=
As a POP EBP is defined like esp,[4],4,esp,+=,ebp,= I would then expect POPFD to be esp,[4],4,esp,+=,eflags,= Am I right?
POP EBP
esp,[4],4,esp,+=,ebp,=
esp,[4],4,esp,+=,eflags,=
Sorry, something went wrong.
As we are focusing on the next generation of our IL, it should be resolved eventually due to the better emulation precision:
cc @DMaroo
No branches or pull requests
Environment information
Describe the bug
Looks like the emulator doesn't execute properly the POPFD instruction. Data is read from the stack but the stack pointer isn't incremented
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The ESP should be incremented after a POPFD instruction
Screenshots
Additional context
The three screenshots are in sequence, to show the behavior reported.
The text was updated successfully, but these errors were encountered: