about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2016-09-01 14:54:09 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2016-09-01 14:54:09 +0200
commit300aac79fa3915a0192154fb1a88ba9f64578da6 (patch)
treeaa97f44707cc3366f817baccc5061a0fd60e2170
parent21a3b3f9ad4fcd38b27c3fbc9795e72ee8b41e94 (diff)
downloadmiasm-300aac79fa3915a0192154fb1a88ba9f64578da6.tar.gz
miasm-300aac79fa3915a0192154fb1a88ba9f64578da6.zip
X86/sem: fix icebp
-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 cdc98fba..7cf61201 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -2850,7 +2850,7 @@ def cmovns(ir, instr, arg1, arg2):
 def icebp(ir, instr):
     e = []
     e.append(m2_expr.ExprAff(exception_flags,
-                             m2_expr.ExprInt32(EXCEPT_PRIV_INSN)))
+                             m2_expr.ExprInt32(EXCEPT_SOFT_BP)))
     return e, []
 # XXX