diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2017-04-24 22:25:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-24 22:25:31 +0200 |
| commit | 1741e91897c51934d68826ada137c20721f359cb (patch) | |
| tree | 2e77dc7667347d5fdb498c0489f46ba13c7e055c /example/expression/solve_condition_stp.py | |
| parent | 860aba480c8a71e06154454f2957593856613af2 (diff) | |
| parent | c1ad97620e7d7451905d3a074359afb7035d0116 (diff) | |
| download | miasm-1741e91897c51934d68826ada137c20721f359cb.tar.gz miasm-1741e91897c51934d68826ada137c20721f359cb.zip | |
Merge pull request #540 from commial/refactor/remove-autocomplete
Remove PYTHONSTARTUP in end-user scripts
Diffstat (limited to 'example/expression/solve_condition_stp.py')
| -rw-r--r-- | example/expression/solve_condition_stp.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/example/expression/solve_condition_stp.py b/example/expression/solve_condition_stp.py index 0ca17faa..27b0512f 100644 --- a/example/expression/solve_condition_stp.py +++ b/example/expression/solve_condition_stp.py @@ -1,4 +1,3 @@ -import os import sys import subprocess from collections import defaultdict @@ -19,11 +18,6 @@ from miasm2.core import parse_asm from miasm2.arch.x86.disasm import dis_x86_32 as dis_engine -filename = os.environ.get('PYTHONSTARTUP') -if filename and os.path.isfile(filename): - execfile(filename) - - mn = mn_x86 parser = OptionParser(usage="usage: %prog [options] file") |