about summary refs log tree commit diff stats
path: root/example/ida/graph_ir.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-11-06 17:48:40 +0100
committerAjax <commial@gmail.com>2015-11-06 17:53:27 +0100
commit2893fbe90044a310524a05b7476c559a4610f0ab (patch)
treed6b8cfd0c3528a49bf251a786e98d5ab272d838c /example/ida/graph_ir.py
parent2b7450616518fec1f56627878354ccacd0d0e623 (diff)
downloadmiasm-2893fbe90044a310524a05b7476c559a4610f0ab.tar.gz
miasm-2893fbe90044a310524a05b7476c559a4610f0ab.zip
Example/IDA: useless sys path
Diffstat (limited to 'example/ida/graph_ir.py')
-rw-r--r--example/ida/graph_ir.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/example/ida/graph_ir.py b/example/ida/graph_ir.py
index c4f36618..bbb44bbb 100644
--- a/example/ida/graph_ir.py
+++ b/example/ida/graph_ir.py
@@ -2,19 +2,14 @@ import sys
 import os
 import tempfile
 
-# Set your path first!
-sys.path.append("/home/serpilliere/tools/pyparsing/pyparsing-2.0.1/build/lib.linux-x86_64-2.7")
-sys.path.append("/home/serpilliere/projet/miasm/build/lib.linux-x86_64-2.7")
-sys.path.append("/home/serpilliere/projet/elfesteem/build/lib.linux-x86_64-2.7")
-
 from idaapi import GraphViewer
 
 from miasm2.core.bin_stream_ida import bin_stream_ida
 from miasm2.core.asmbloc import *
 from miasm2.expression.simplifications import expr_simp
 from miasm2.expression.expression import *
-
-from miasm2.analysis.data_analysis import inter_bloc_flow, intra_bloc_flow_symbexec
+from miasm2.analysis.data_analysis import inter_bloc_flow, \
+    intra_bloc_flow_symbexec
 
 from utils import guess_machine, expr2colorstr