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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/sandbox_pe.py b/example/sandbox_pe.py
index d76acd01..4c1e9b17 100644
--- a/example/sandbox_pe.py
+++ b/example/sandbox_pe.py
@@ -38,7 +38,8 @@ if filename and os.path.isfile(filename):
     execfile(filename)
 
 
-runtime_dll, dll_dyn_funcs = preload_lib(e, patch_vm_imp = True, lib_base_ad = 0x7c811111)
+runtime_dll = libimp(0x71111111)
+dll_dyn_funcs = preload_lib(e, runtime_dll)
 # set winapi to ours
 win_api.runtime_dll = runtime_dll
 win_api.current_pe = e