about summary refs log tree commit diff stats
path: root/miasm2/jitter/jitcore_python.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2016-04-26 17:47:38 +0200
committerAjax <commial@gmail.com>2016-04-26 17:47:38 +0200
commit33d7ab0350d44ae7916264bec54b8fac3f2a9ab2 (patch)
treef9cf9784ab1d5fb37ad667dded4a7d81b40a3b04 /miasm2/jitter/jitcore_python.py
parent5d8ade642dc0cd888af50464cc1686e73d7382ef (diff)
downloadfocaccia-miasm-33d7ab0350d44ae7916264bec54b8fac3f2a9ab2.tar.gz
focaccia-miasm-33d7ab0350d44ae7916264bec54b8fac3f2a9ab2.zip
Python jitter: enable segmentation support
Diffstat (limited to 'miasm2/jitter/jitcore_python.py')
-rw-r--r--miasm2/jitter/jitcore_python.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/miasm2/jitter/jitcore_python.py b/miasm2/jitter/jitcore_python.py
index eced9cd2..e1e62816 100644
--- a/miasm2/jitter/jitcore_python.py
+++ b/miasm2/jitter/jitcore_python.py
@@ -19,6 +19,7 @@ class JitCore_Python(jitcore.JitCore):
 
         # CPU (None for now) will be set by the "jitted" Python function
         self.symbexec = EmulatedSymbExec(None, self.ir_arch, {})
+        self.symbexec.enable_emulated_simplifications()
 
     def load(self):
         "Preload symbols according to current architecture"