about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2016-09-01 17:10:51 +0200
committerGitHub <noreply@github.com>2016-09-01 17:10:51 +0200
commit961854d7c96c095438990d25da50263ce72fd3fd (patch)
treeaa97f44707cc3366f817baccc5061a0fd60e2170
parent21a3b3f9ad4fcd38b27c3fbc9795e72ee8b41e94 (diff)
parent300aac79fa3915a0192154fb1a88ba9f64578da6 (diff)
downloadmiasm-961854d7c96c095438990d25da50263ce72fd3fd.tar.gz
miasm-961854d7c96c095438990d25da50263ce72fd3fd.zip
Merge pull request #415 from serpilliere/fix_x86_icebp
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