diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-07-27 17:22:19 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-07-27 21:17:54 +0200 |
| commit | e33bffdca01c7528608681e6d79afcb1b46e37de (patch) | |
| tree | a829bb6ea4040bde14b212fa8581fac92bbdea3b /miasm2/jitter/jitcore.py | |
| parent | b088e965b09abedad4e62664c05b06a65522a80e (diff) | |
| download | miasm-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/jitter/jitcore.py')
| -rw-r--r-- | miasm2/jitter/jitcore.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/miasm2/jitter/jitcore.py b/miasm2/jitter/jitcore.py index 741760cd..9c35f829 100644 --- a/miasm2/jitter/jitcore.py +++ b/miasm2/jitter/jitcore.py @@ -47,7 +47,6 @@ class JitCore(object): self.log_regs = False self.log_newbloc = False self.segm_to_do = set() - self.job_done = set() self.jitcount = 0 self.addr2obj = {} self.addr2objref = {} @@ -140,7 +139,6 @@ class JitCore(object): addr = addr.offset # Prepare disassembler - self.mdis.job_done.clear() self.mdis.lines_wd = self.options["jit_maxline"] self.mdis.dis_bloc_callback = self.disasm_cb |