diff options
| author | Camille Mougey <commial@gmail.com> | 2018-03-15 15:35:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-15 15:35:31 +0100 |
| commit | 50a0b480a729507c8e49af39588592fbfb5476b1 (patch) | |
| tree | 5d5248ceb9358a1f497f4830e821e50afb340dba /example/expression/solve_condition_stp.py | |
| parent | edabfcda0fa8c0dd8ab3017853b375b1ee24b754 (diff) | |
| parent | 1b534d9ad543473f12ddcb631e0cddb0cbd54ff4 (diff) | |
| download | miasm-50a0b480a729507c8e49af39588592fbfb5476b1.tar.gz miasm-50a0b480a729507c8e49af39588592fbfb5476b1.zip | |
Merge pull request #699 from serpilliere/symb_mem_hash
Symbexec: use hashtable for mem symbols
Diffstat (limited to '')
| -rw-r--r-- | example/expression/solve_condition_stp.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/example/expression/solve_condition_stp.py b/example/expression/solve_condition_stp.py index 24d2dd50..44b73043 100644 --- a/example/expression/solve_condition_stp.py +++ b/example/expression/solve_condition_stp.py @@ -45,9 +45,9 @@ def emul_symb(ir_arch, mdis, states_todo, states_done): print 'Run block:' print irblock - addr = symbexec.emulbloc(irblock) + addr = symbexec.eval_updt_irblock(irblock) print 'Final state:' - symbexec.dump_id() + symbexec.dump(mems=False) assert addr is not None @@ -136,8 +136,8 @@ if __name__ == '__main__': line.offset, line.l = i, 1 ir_arch.add_block(b) irb = get_block(ir_arch, mdis, 0) - symbexec.emulbloc(irb) - symbexec.dump_mem() + symbexec.eval_updt_irblock(irb) + symbexec.dump(ids=False) # reset ir_arch blocks ir_arch.blocks = {} |