about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-11-09 15:48:33 +0100
committerAjax <commial@gmail.com>2015-11-09 15:48:33 +0100
commitc3c27428f87d9dd0cba29a95ef8374e1dd6a65c7 (patch)
tree0bf0af046fa33670a4287ffde9bc4dc8540058a9
parenta48b6740c9e6c829661843e78ad7acfcf63ae667 (diff)
downloadmiasm-c3c27428f87d9dd0cba29a95ef8374e1dd6a65c7.tar.gz
miasm-c3c27428f87d9dd0cba29a95ef8374e1dd6a65c7.zip
x86/Sem: set `interrupt_num` on INT XX
-rw-r--r--miasm2/arch/x86/sem.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index e511a534..04dc550b 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -2799,6 +2799,7 @@ def l_int(ir, instr, a):
         except_int = EXCEPT_INT_XX
     e.append(m2_expr.ExprAff(exception_flags,
                      m2_expr.ExprInt32(except_int)))
+    e.append(m2_expr.ExprAff(interrupt_num, a))
     return e, []