about summary refs log tree commit diff stats
path: root/example/sandbox_pe.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/sandbox_pe.py')
-rw-r--r--example/sandbox_pe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/sandbox_pe.py b/example/sandbox_pe.py
index 1b6457be..d76acd01 100644
--- a/example/sandbox_pe.py
+++ b/example/sandbox_pe.py
@@ -41,7 +41,7 @@ if filename and os.path.isfile(filename):
 runtime_dll, dll_dyn_funcs = preload_lib(e, patch_vm_imp = True, lib_base_ad = 0x7c811111)
 # set winapi to ours
 win_api.runtime_dll = runtime_dll
-
+win_api.current_pe = e
 dll_dyn_ad2name = dict([(x[1], x[0]) for x in dll_dyn_funcs.items()])
 dyn_func = {}