about summary refs log tree commit diff stats
path: root/example/unpack_upx.py
diff options
context:
space:
mode:
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()