diff options
| author | Camille Mougey <commial@gmail.com> | 2017-07-28 09:22:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-28 09:22:36 +0200 |
| commit | 8f30712201984beda1bfedcd6e9804119369b35b (patch) | |
| tree | b17a513e292a4a74fed7a974ceaf8938aa0c3003 /example | |
| parent | d9eecbf960e4a097e050e1ce1adb52999e4da76f (diff) | |
| parent | e33bffdca01c7528608681e6d79afcb1b46e37de (diff) | |
| download | miasm-8f30712201984beda1bfedcd6e9804119369b35b.tar.gz miasm-8f30712201984beda1bfedcd6e9804119369b35b.zip | |
Merge pull request #591 from serpilliere/remove_job_done
Asmblock: remove disasm engine job_done attribute
Diffstat (limited to 'example')
| -rw-r--r-- | example/disasm/callback.py | 3 | ||||
| -rw-r--r-- | example/ida/ctype_propagation.py | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/example/disasm/callback.py b/example/disasm/callback.py index 5aae7f6f..63987e85 100644 --- a/example/disasm/callback.py +++ b/example/disasm/callback.py @@ -54,9 +54,6 @@ cb_x86_funcs.append(cb_x86_callpop) ## Other method: ## mdis.dis_bloc_callback = cb_x86_callpop -# Clean disassembly cache -mdis.job_done.clear() - print "=" * 40 print "With callback:\n" blocks_after = mdis.dis_multiblock(0) diff --git a/example/ida/ctype_propagation.py b/example/ida/ctype_propagation.py index a48179e9..cb342213 100644 --- a/example/ida/ctype_propagation.py +++ b/example/ida/ctype_propagation.py @@ -57,7 +57,6 @@ Dependency Graph Settings def get_block(ir_arch, mdis, addr): """Get IRBlock at address @addr""" - mdis.job_done.clear() lbl = ir_arch.get_label(addr) if not lbl in ir_arch.blocks: block = mdis.dis_block(lbl.offset) |