about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/jit.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-03-31 17:53:10 +0200
committerAjax <commial@gmail.com>2015-04-01 17:24:40 +0200
commit3391ee3eb9c32934f1ac92a56f33567d87b7f579 (patch)
tree1ced8c1d75d438c3660101bf4cf130f109618968 /miasm2/arch/x86/jit.py
parent9660bcdafd1bc532432e7d1664a1bcf491d386f9 (diff)
downloadmiasm-3391ee3eb9c32934f1ac92a56f33567d87b7f579.tar.gz
miasm-3391ee3eb9c32934f1ac92a56f33567d87b7f579.zip
x86/StdCall: Fix a typo when 2 values are returned (credits niko schmidt)
Diffstat (limited to 'miasm2/arch/x86/jit.py')
-rw-r--r--miasm2/arch/x86/jit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/x86/jit.py b/miasm2/arch/x86/jit.py
index a984cce8..5a9886c5 100644
--- a/miasm2/arch/x86/jit.py
+++ b/miasm2/arch/x86/jit.py
@@ -85,7 +85,7 @@ class jitter_x86_32(jitter):
         if ret_value1 is not None:
             self.cpu.EAX = ret_value1
         if ret_value2 is not None:
-            self.cpu.EDX = ret_value
+            self.cpu.EDX = ret_value2
 
     # cdecl
     @named_arguments