about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/sem.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2016-09-07 21:56:08 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2016-09-07 21:56:08 +0200
commit1c8f058dd74b04bb407962780b3e78cd120bfdd1 (patch)
tree0ba5c8ea598a18aa0e2019803e202a2d6a99da25 /miasm2/arch/x86/sem.py
parent292a5d639cdb64b0b2eb1d855cf93dc4d3c4d1d9 (diff)
downloadmiasm-1c8f058dd74b04bb407962780b3e78cd120bfdd1.tar.gz
miasm-1c8f058dd74b04bb407962780b3e78cd120bfdd1.zip
Arch/x86: fix sldt
Diffstat (limited to '')
-rw-r--r--miasm2/arch/x86/sem.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index 565e63c5..17965fdc 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -2778,8 +2778,8 @@ def sidt(ir, instr, a):
 
 
 def sldt(ir, instr, a):
-    # XXX TOOD
-    e = [m2_expr.ExprAff(exception_flags, m2_expr.ExprInt32(EXCEPT_PRIV_INSN))]
+    print "DEFAULT SLDT ADDRESS %s!!" % str(a)
+    e = [m2_expr.ExprAff(a, m2_expr.ExprInt(0, a.size))]
     return e, []