about summary refs log tree commit diff stats
path: root/miasm2/analysis/machine.py
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2015-01-22 17:55:39 +0100
committerCamille Mougey <camille.mougey@cea.fr>2015-01-23 17:24:43 +0100
commit9bec8ef1242d03a791014d71eaf896fc11def3fa (patch)
tree65866af31fed92ccefcf390b4f4add885930088f /miasm2/analysis/machine.py
parent7ce340c2e62d985e92c42add8ffc385d54360a91 (diff)
downloadmiasm-9bec8ef1242d03a791014d71eaf896fc11def3fa.tar.gz
miasm-9bec8ef1242d03a791014d71eaf896fc11def3fa.zip
Analysis/Machine: Export base_expr
Diffstat (limited to 'miasm2/analysis/machine.py')
-rw-r--r--miasm2/analysis/machine.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/miasm2/analysis/machine.py b/miasm2/analysis/machine.py
index 872eccbc..d714dbb9 100644
--- a/miasm2/analysis/machine.py
+++ b/miasm2/analysis/machine.py
@@ -108,6 +108,7 @@ class Machine(object):
         self.__gdbserver = gdbserver
         self.__log_jit = log_jit
         self.__log_arch = log_arch
+        self.__base_expr = arch.base_expr
 
     @property
     def dis_engine(self):
@@ -137,6 +138,10 @@ class Machine(object):
     def log_arch(self):
         return self.__log_arch
 
+    @property
+    def base_expr(self):
+        return self.__base_expr
+
     @classmethod
     def available_machine(cls):
         "Return a list of supported machines"