From e33bffdca01c7528608681e6d79afcb1b46e37de Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Thu, 27 Jul 2017 17:22:19 +0200 Subject: 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. --- example/disasm/callback.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'example/disasm/callback.py') 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) -- cgit 1.4.1