about summary refs log tree commit diff stats
path: root/miasm2/jitter/csts.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-11-27 12:58:04 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-12-04 15:59:24 +0100
commit85bc9542a3c260595698f48b1de71a6da1d09ba7 (patch)
treeaa3e5dad2a3bce36e81c105c30c01993d71131bf /miasm2/jitter/csts.py
parent7c74ea27685aabb51bf158b5ca13ce8fec147ef0 (diff)
downloadmiasm-85bc9542a3c260595698f48b1de71a6da1d09ba7.tar.gz
miasm-85bc9542a3c260595698f48b1de71a6da1d09ba7.zip
Jitter: fix cst exceptions
Diffstat (limited to 'miasm2/jitter/csts.py')
-rw-r--r--miasm2/jitter/csts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/miasm2/jitter/csts.py b/miasm2/jitter/csts.py
index e4b315e1..7afd1d36 100644
--- a/miasm2/jitter/csts.py
+++ b/miasm2/jitter/csts.py
@@ -11,6 +11,7 @@ EXCEPT_INT_XX = (1 << 2)
 EXCEPT_BREAKPOINT_INTERN = (1 << 10)
 
 EXCEPT_ACCESS_VIOL = ((1 << 14) | EXCEPT_DO_NOT_UPDATE_PC)
+EXCEPT_DIV_BY_ZERO = ((1 << 16) | EXCEPT_DO_NOT_UPDATE_PC)
 # VM Mngr constants
 
 PAGE_READ = 1