diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-10-03 17:20:38 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-03-15 14:46:36 +0100 |
| commit | 1b534d9ad543473f12ddcb631e0cddb0cbd54ff4 (patch) | |
| tree | 5d5248ceb9358a1f497f4830e821e50afb340dba /miasm2/ir/symbexec_types.py | |
| parent | edabfcda0fa8c0dd8ab3017853b375b1ee24b754 (diff) | |
| download | miasm-1b534d9ad543473f12ddcb631e0cddb0cbd54ff4.tar.gz miasm-1b534d9ad543473f12ddcb631e0cddb0cbd54ff4.zip | |
Symbexec: use hashtable for mem symbols
Diffstat (limited to 'miasm2/ir/symbexec_types.py')
| -rw-r--r-- | miasm2/ir/symbexec_types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/ir/symbexec_types.py b/miasm2/ir/symbexec_types.py index a8e8bdf2..fedd25bc 100644 --- a/miasm2/ir/symbexec_types.py +++ b/miasm2/ir/symbexec_types.py @@ -82,7 +82,7 @@ class SymbExecCType(SymbolicExecutionEngine): """Return the current state of the SymbolicEngine""" return self.StateEngine(self.symbols) - def eval_ir_expr(self, assignblk): + def eval_assignblk(self, assignblk): """ Evaluate AssignBlock on the current state @assignblk: AssignBlock instance @@ -97,7 +97,7 @@ class SymbExecCType(SymbolicExecutionEngine): pool_out[dst] = frozenset(objcs) else: raise ValueError("Unsupported affectation", str(dst)) - return pool_out.iteritems() + return pool_out def eval_expr(self, expr, eval_cache=None): return frozenset(self.chandler.expr_to_types(expr, self.symbols)) |