diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2016-06-24 16:10:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-24 16:10:10 +0200 |
| commit | 214024052d21c325eae7075f8965da5e244704dd (patch) | |
| tree | 6e3a35c428d7631469dc98c4109f052f4c89c0f6 /miasm2/arch/x86/jit.py | |
| parent | 7d977f6fce3b36753dd5e689eac824ac0e1ed6e6 (diff) | |
| parent | aaa58042e3c7fc75e97ed7b9eaf4e4ce07b75d7d (diff) | |
| download | miasm-214024052d21c325eae7075f8965da5e244704dd.tar.gz miasm-214024052d21c325eae7075f8965da5e244704dd.zip | |
Merge pull request #383 from commial/fix/breakpoint-handling
Fix/breakpoint handling
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: |