diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2015-01-26 10:04:24 +0100 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2015-01-26 10:04:24 +0100 |
| commit | b87f775c1a6a5c78c62beee925eaba6dc337577e (patch) | |
| tree | cf2650f575971bf8a23655a28c944e9e8a9da561 /miasm2/analysis/machine.py | |
| parent | c59591a779ac644d1b50a720aea93cd8b36a2ddf (diff) | |
| parent | 7b9bbe4754db4d1f5229cc5cc5769ad6cf2e0a84 (diff) | |
| download | miasm-b87f775c1a6a5c78c62beee925eaba6dc337577e.tar.gz miasm-b87f775c1a6a5c78c62beee925eaba6dc337577e.zip | |
Merge pull request #45 from commial/refactor-examples
Refactor examples
Diffstat (limited to 'miasm2/analysis/machine.py')
| -rw-r--r-- | miasm2/analysis/machine.py | 5 |
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" |