about summary refs log tree commit diff stats
path: root/miasm2/jitter/JitCore.h
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2015-10-23 14:44:01 +0200
committerserpilliere <serpilliere@users.noreply.github.com>2015-10-23 14:44:01 +0200
commitfb32efb74e2dc1077586a2214de558db6940b70b (patch)
treed42a2e0744c5884b808e187eabf348a3f136afff /miasm2/jitter/JitCore.h
parentbcd4822ab014156c4977667b165072ba396d1f17 (diff)
parent663a287f588719b0bc58c4d2a1f7e69f17ee986c (diff)
downloadmiasm-fb32efb74e2dc1077586a2214de558db6940b70b.tar.gz
miasm-fb32efb74e2dc1077586a2214de558db6940b70b.zip
Merge pull request #238 from commial/feature_cloop
Feature cloop
Diffstat (limited to 'miasm2/jitter/JitCore.h')
-rw-r--r--miasm2/jitter/JitCore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/miasm2/jitter/JitCore.h b/miasm2/jitter/JitCore.h
index af87a9cb..c8400701 100644
--- a/miasm2/jitter/JitCore.h
+++ b/miasm2/jitter/JitCore.h
@@ -131,4 +131,7 @@ PyObject* vm_get_mem(JitCpu *self, PyObject* args);
 #define VM_exception_flag (((VmMngr*)jitcpu->pyvm)->vm_mngr.exception_flags)
 #define CPU_exception_flag (((vm_cpu_t*)jitcpu->cpu)->exception_flags)
 
+#define JIT_RET_EXCEPTION 1
+#define JIT_RET_NO_EXCEPTION 0
+
 #endif