about summary refs log tree commit diff stats
path: root/miasm2/analysis/dse.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2017-07-27 17:22:19 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2017-07-27 21:17:54 +0200
commite33bffdca01c7528608681e6d79afcb1b46e37de (patch)
treea829bb6ea4040bde14b212fa8581fac92bbdea3b /miasm2/analysis/dse.py
parentb088e965b09abedad4e62664c05b06a65522a80e (diff)
downloadmiasm-e33bffdca01c7528608681e6d79afcb1b46e37de.tar.gz
miasm-e33bffdca01c7528608681e6d79afcb1b46e37de.zip
Asmblock: remove disasm engine job_done attribute
WARNING: disasmEngine behaviour modification

Before patch: job_done containted the already disassembled addresses. If the
user disassembled twice the same addresse, the engine will return empty
object on the second call.

After patch: If the user disassemble twice the same addresse, the engine will
return result of the disassembling in both cases.
Diffstat (limited to 'miasm2/analysis/dse.py')
-rw-r--r--miasm2/analysis/dse.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/miasm2/analysis/dse.py b/miasm2/analysis/dse.py
index 41872f5f..74cc87e9 100644
--- a/miasm2/analysis/dse.py
+++ b/miasm2/analysis/dse.py
@@ -297,7 +297,6 @@ class DSEEngine(object):
         else:
 
             ## Reset cache structures
-            self.mdis.job_done.clear()
             self.ir_arch.blocks.clear()# = {}
 
             ## Update current state