diff options
| author | serpilliere <devnull@localhost> | 2011-08-11 13:18:06 +0200 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2011-08-11 13:18:06 +0200 |
| commit | 204f72baee885f7f011b75797b3e2b816a5af5ec (patch) | |
| tree | 873d86d2f145a8c293f9a15048ad5c3b977ec200 /example/sandbox_pe.py | |
| parent | d91b77a9cdd07abf12f6cef43d8e9ff539de6b50 (diff) | |
| download | miasm-204f72baee885f7f011b75797b3e2b816a5af5ec.tar.gz miasm-204f72baee885f7f011b75797b3e2b816a5af5ec.zip | |
fix api in sandbox pe
Diffstat (limited to 'example/sandbox_pe.py')
| -rw-r--r-- | example/sandbox_pe.py | 3 |
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 |