macaw/x86_symbolic
Ryan Scott 1add47389a macaw-x86: Fix call semantics when call target involves the stack pointer
Previously, the `macaw-x86` semantics for `call` would retrieve the call target
*after* pushing the next instruction's address to the stack, but if the call
target involves the stack pointer, then this would mean that it would get the
next instruction's address when retrieving the call target. This is not what is
intended!

This patch fixes the issue by always retrieving the call target *before*
pushing the next instruction's address to the stack. I have added a test case
to the `macaw-x86-symbolic` test suite which demonstrates that this fix works
as intended.

Fixes #420.
2024-08-13 12:31:09 -04:00
..
src/Data/Macaw/X86 symbolic: Make {lookup,update}Reg implementations panic rather than error 2024-07-26 15:25:29 -04:00
tests macaw-x86: Fix call semantics when call target involves the stack pointer 2024-08-13 12:31:09 -04:00
LICENSE Add macaw-x86-symbolic 2018-01-02 22:50:23 -08:00
macaw-x86-symbolic.cabal symbolic: Make {lookup,update}Reg implementations panic rather than error 2024-07-26 15:25:29 -04:00