diff options
| author | Ajax <commial@gmail.com> | 2016-06-23 17:14:19 +0200 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2016-06-23 17:14:19 +0200 |
| commit | 484602ec143ce75ddfdda5f634e2a320339baf85 (patch) | |
| tree | a1c0b04a65c34c56b2cc4f300bcda8b04636fa61 /miasm2/arch/x86/jit.py | |
| parent | fc97ad6e01f46dde14919e63a9274e7832624f0c (diff) | |
| download | miasm-484602ec143ce75ddfdda5f634e2a320339baf85.tar.gz miasm-484602ec143ce75ddfdda5f634e2a320339baf85.zip | |
Repercut EIP modification to PC (as 64 bits)
Diffstat (limited to 'miasm2/arch/x86/jit.py')
| -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 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: |