diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2015-03-31 23:36:04 +0200 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2015-03-31 23:36:04 +0200 |
| commit | 9660bcdafd1bc532432e7d1664a1bcf491d386f9 (patch) | |
| tree | 88aa57b4cb7b597be75625986e213727536f6085 | |
| parent | 65c65bd7548fd665ca2631db4b91eb136aa5962c (diff) | |
| parent | 3b9c92f070574a6dfc3d1e039ea451eebb6efba8 (diff) | |
| download | miasm-9660bcdafd1bc532432e7d1664a1bcf491d386f9.tar.gz miasm-9660bcdafd1bc532432e7d1664a1bcf491d386f9.zip | |
Merge pull request #134 from p-l-/fix-winobjs-currentpe
Sandbox Win: add PE object to win_api_x86_32.winobjs
| -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) |