diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2014-10-02 14:37:32 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2014-10-02 14:37:32 +0200 |
| commit | 8db426e63ea49dffada651a22d5c5ad9ffd93d68 (patch) | |
| tree | 7904ada4272fcc863ab4fd97e328710d4eae4ceb /example/unpack_gen.py | |
| parent | 04a047ab9046f2fd463ad53eacb3545fd4e25ff4 (diff) | |
| download | miasm-8db426e63ea49dffada651a22d5c5ad9ffd93d68.tar.gz miasm-8db426e63ea49dffada651a22d5c5ad9ffd93d68.zip | |
Example: sandbox_pe to diet
Diffstat (limited to 'example/unpack_gen.py')
| -rw-r--r-- | example/unpack_gen.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/example/unpack_gen.py b/example/unpack_gen.py deleted file mode 100644 index ffca512e..00000000 --- a/example/unpack_gen.py +++ /dev/null @@ -1,21 +0,0 @@ -import os -from pdb import pm -from miasm2.analysis.sandbox import Sandbox_Win_x86_32 - -# Python auto completion -filename = os.environ.get('PYTHONSTARTUP') -if filename and os.path.isfile(filename): - execfile(filename) - -# Insert here user defined methods - -# Parse arguments -parser = Sandbox_Win_x86_32.parser() -parser.add_argument("filename", help="PE Filename") -options = parser.parse_args() - -# Create sandbox -sb = Sandbox_Win_x86_32(options.filename, options, globals()) - -# Run -sb.run() |