about summary refs log tree commit diff stats
path: root/example/jitter/sandbox_elf_aarch64l.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2017-04-24 22:25:31 +0200
committerGitHub <noreply@github.com>2017-04-24 22:25:31 +0200
commit1741e91897c51934d68826ada137c20721f359cb (patch)
tree2e77dc7667347d5fdb498c0489f46ba13c7e055c /example/jitter/sandbox_elf_aarch64l.py
parent860aba480c8a71e06154454f2957593856613af2 (diff)
parentc1ad97620e7d7451905d3a074359afb7035d0116 (diff)
downloadmiasm-1741e91897c51934d68826ada137c20721f359cb.tar.gz
miasm-1741e91897c51934d68826ada137c20721f359cb.zip
Merge pull request #540 from commial/refactor/remove-autocomplete
Remove PYTHONSTARTUP in end-user scripts
Diffstat (limited to '')
-rw-r--r--example/jitter/sandbox_elf_aarch64l.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/example/jitter/sandbox_elf_aarch64l.py b/example/jitter/sandbox_elf_aarch64l.py
index 0a4c88db..0f028876 100644
--- a/example/jitter/sandbox_elf_aarch64l.py
+++ b/example/jitter/sandbox_elf_aarch64l.py
@@ -1,14 +1,7 @@
-import os
+import logging
 from pdb import pm
 from miasm2.analysis.sandbox import Sandbox_Linux_aarch64l
 from miasm2.jitter.jitload import log_func
-import logging
-
-
-# Python auto completion
-filename = os.environ.get('PYTHONSTARTUP')
-if filename and os.path.isfile(filename):
-    execfile(filename)
 
 # Insert here user defined methods