about summary refs log tree commit diff stats
path: root/example/unpack_upx.py
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2011-08-30 10:36:18 +0200
committerserpilliere <devnull@localhost>2011-08-30 10:36:18 +0200
commit8fd1e736cd1427e170ad4a6376808f4f8c52f3dc (patch)
tree31ebc693a532a8b08c4498a08025fc00a86f921e /example/unpack_upx.py
parentbd4b8fd3b1993761e2ff960e61fc0beae59e166b (diff)
downloadmiasm-8fd1e736cd1427e170ad4a6376808f4f8c52f3dc.tar.gz
miasm-8fd1e736cd1427e170ad4a6376808f4f8c52f3dc.zip
fix multiple destination in disasm engine; remove dead code
Diffstat (limited to 'example/unpack_upx.py')
-rw-r--r--example/unpack_upx.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/unpack_upx.py b/example/unpack_upx.py
index 34a5e8ce..cf1e2357 100644
--- a/example/unpack_upx.py
+++ b/example/unpack_upx.py
@@ -209,6 +209,7 @@ def my_run():
         if not my_eip in known_blocs:

             in_str = updt_pe_from_emul(e)

             updt_bloc_emul(known_blocs, in_str, my_eip, symbol_pool, code_blocs_mem_range, **trace_on)

+            vm_reset_exception()

 

         my_eip = known_blocs[my_eip].module_c.func()

         py_exception = vm_get_exception()