about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorNiko Schmidt <itsacoderepo@users.noreply.github.com>2016-04-27 21:09:03 +0200
committerNiko Schmidt <itsacoderepo@users.noreply.github.com>2016-04-27 21:09:03 +0200
commitf52321c911b7fee47880c9a12d80be6d1f2ff2b7 (patch)
tree396b044c0e361af96b9bf03d6594bf6485b95ffb
parentd84571ec5e35fb4ea7e149658088f5bc15888b0a (diff)
downloadmiasm-f52321c911b7fee47880c9a12d80be6d1f2ff2b7.tar.gz
miasm-f52321c911b7fee47880c9a12d80be6d1f2ff2b7.zip
Update sem.py
Fixed missing arch (64) on line 1451
-rw-r--r--miasm2/arch/x86/sem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index e843cd2b..eb067c55 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -1448,7 +1448,7 @@ def idiv(ir, instr, a):
 
     if size == 8:
         b = mRAX[instr.mode][:16]
-    elif size in [16, 32]:
+    elif size in [16, 32, 64]:
         s1, s2 = mRDX[size], mRAX[size]
         b = m2_expr.ExprCompose([(s2, 0, size),
                                  (s1, size, size * 2)])