When edb executes a pushfd, the trap flag is set in the value pushed on the stack.
When a popfd is done, the trap flag gets set in the efl and edb stops at the (2nd) opcode.
Trying to continue the run (F9) does not work, it behaves like step by step execution.
As I am very new to edb, and not very deep into asm programming, maybe I'm doing something wrong.
But ollydbg on windows does not show this behavior, the trap flag is not set in the pushed value.
I have added a very simple program that shows the behavior on my installation.
Important (possibly...) is that I'm running Ubuntu virtually. Both in VirtualBox and in WSL2 the behavior is the same.
The 'and' instruction is resetting the bit on the stack. Skipping this instruction shows the issue with edb.
pushpopflags.zip
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
When edb executes a pushfd, the trap flag is set in the value pushed on the stack.
When a popfd is done, the trap flag gets set in the efl and edb stops at the (2nd) opcode.
Trying to continue the run (F9) does not work, it behaves like step by step execution.
As I am very new to edb, and not very deep into asm programming, maybe I'm doing something wrong.
But ollydbg on windows does not show this behavior, the trap flag is not set in the pushed value.
I have added a very simple program that shows the behavior on my installation.
Important (possibly...) is that I'm running Ubuntu virtually. Both in VirtualBox and in WSL2 the behavior is the same.
The 'and' instruction is resetting the bit on the stack. Skipping this instruction shows the issue with edb.
pushpopflags.zip
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.