about summary refs log tree commit diff stats
path: root/example/jitter/sandbox_elf_aarch64l.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2017-04-24 18:16:47 +0200
committerAjax <commial@gmail.com>2017-04-24 18:16:47 +0200
commit9c8869368ccc7ab6d9cf2edda4739d479056df17 (patch)
treef984ba7807e5b1699a46c64019fe618f41c98cde /example/jitter/sandbox_elf_aarch64l.py
parent7ce0b4f473b2830ccc4d720455ba62c438e973c0 (diff)
downloadmiasm-9c8869368ccc7ab6d9cf2edda4739d479056df17.tar.gz
miasm-9c8869368ccc7ab6d9cf2edda4739d479056df17.zip
Remove PYTHONSTARTUP in end-user scripts
Diffstat (limited to 'example/jitter/sandbox_elf_aarch64l.py')
-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