diff options
| author | Pierre LALET <pierre.lalet@cea.fr> | 2015-03-31 17:31:06 +0200 |
|---|---|---|
| committer | Pierre LALET <pierre.lalet@cea.fr> | 2015-03-31 17:43:05 +0200 |
| commit | 3b9c92f070574a6dfc3d1e039ea451eebb6efba8 (patch) | |
| tree | 88aa57b4cb7b597be75625986e213727536f6085 /miasm2/analysis/sandbox.py | |
| parent | 65c65bd7548fd665ca2631db4b91eb136aa5962c (diff) | |
| download | miasm-3b9c92f070574a6dfc3d1e039ea451eebb6efba8.tar.gz miasm-3b9c92f070574a6dfc3d1e039ea451eebb6efba8.zip | |
Sandbox Win: add PE object to win_api_x86_32.winobjs
Diffstat (limited to 'miasm2/analysis/sandbox.py')
| -rw-r--r-- | miasm2/analysis/sandbox.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miasm2/analysis/sandbox.py b/miasm2/analysis/sandbox.py index 310b2ef0..1179a592 100644 --- a/miasm2/analysis/sandbox.py +++ b/miasm2/analysis/sandbox.py @@ -184,6 +184,8 @@ class OS_Win(OS): with open(self.fname) as fstream: self.pe = vm_load_pe(self.jitter.vm, fstream.read()) + win_api_x86_32.winobjs.current_pe = self.pe + # Fix pe imports preload_pe(self.jitter.vm, self.pe, libs) |