diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2014-12-03 19:33:50 +0100 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2014-12-03 22:29:33 +0100 |
| commit | 27b2fb9cb2af967f30a1a609b2c752545e13542c (patch) | |
| tree | e9ca0fb1464b631bc8349e7193705de511473acc /example | |
| parent | e52881b8dee1dbbf6c09c03fbc738d5ac89fe811 (diff) | |
| download | miasm-27b2fb9cb2af967f30a1a609b2c752545e13542c.tar.gz miasm-27b2fb9cb2af967f30a1a609b2c752545e13542c.zip | |
UnpackUPX: reorganize import, remove useless ones
Diffstat (limited to 'example')
| -rw-r--r-- | example/unpack_upx.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/example/unpack_upx.py b/example/unpack_upx.py index 3dcfdb33..b3932cee 100644 --- a/example/unpack_upx.py +++ b/example/unpack_upx.py @@ -1,10 +1,9 @@ -from pdb import pm import os -from miasm2.analysis.sandbox import Sandbox_Win_x86_32 import logging -from miasm2.core import asmbloc -from elfesteem.strpatchwork import StrPatchwork +from pdb import pm from elfesteem import pe +from miasm2.analysis.sandbox import Sandbox_Win_x86_32 +from miasm2.core import asmbloc filename = os.environ.get('PYTHONSTARTUP') if filename and os.path.isfile(filename): |