diff options
| -rw-r--r-- | miasm2/arch/x86/jit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/x86/jit.py b/miasm2/arch/x86/jit.py index 1329d7a4..6d9be8ac 100644 --- a/miasm2/arch/x86/jit.py +++ b/miasm2/arch/x86/jit.py @@ -127,7 +127,7 @@ class jitter_x86_32(jitter): return ret_ad, args def func_ret_cdecl(self, ret_addr, ret_value=None): - self.cpu.EIP = ret_addr + self.pc = self.cpu.EIP = ret_addr if ret_value is not None: self.cpu.EAX = ret_value |