From 484602ec143ce75ddfdda5f634e2a320339baf85 Mon Sep 17 00:00:00 2001 From: Ajax Date: Thu, 23 Jun 2016 17:14:19 +0200 Subject: Repercut EIP modification to PC (as 64 bits) --- miasm2/arch/x86/jit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miasm2/arch') diff --git a/miasm2/arch/x86/jit.py b/miasm2/arch/x86/jit.py index 5a9886c5..c4f6f128 100644 --- a/miasm2/arch/x86/jit.py +++ b/miasm2/arch/x86/jit.py @@ -81,7 +81,7 @@ class jitter_x86_32(jitter): return ret_ad, args def func_ret_stdcall(self, ret_addr, ret_value1=None, ret_value2=None): - self.cpu.EIP = ret_addr + self.pc = self.cpu.EIP = ret_addr if ret_value1 is not None: self.cpu.EAX = ret_value1 if ret_value2 is not None: -- cgit 1.4.1