Fix stack offset.

This commit is contained in:
Joe Hendrix 2018-11-12 15:28:32 -05:00
parent bb63f9f859
commit 23fe50bd45
No known key found for this signature in database
GPG Key ID: 8DFA5FF784098C4F

View File

@ -510,7 +510,7 @@ checkForReturnAddrX86 :: forall ids
. AbsProcessorState X86Reg ids
-> Bool
checkForReturnAddrX86 absState
| Just (StackEntry _ ReturnAddr) <- Map.lookup 8 (absState^.curAbsStack) =
| Just (StackEntry _ ReturnAddr) <- Map.lookup 0 (absState^.curAbsStack) =
True
| otherwise =
False