about summary refs log tree commit diff stats
path: root/example/expression/solve_condition_stp.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-11-06 17:39:51 +0100
committerAjax <commial@gmail.com>2015-11-06 17:39:51 +0100
commit8cc9de4f952751b417d41533e02b5df1f52c4a90 (patch)
treee506f127cdad1c367e7e73659b03af0e8fd1ea87 /example/expression/solve_condition_stp.py
parente77a4a2430b0d0a30a0b6aab360492bbdd31500e (diff)
downloadmiasm-8cc9de4f952751b417d41533e02b5df1f52c4a90.tar.gz
miasm-8cc9de4f952751b417d41533e02b5df1f52c4a90.zip
Example/Expr: reorganize imports
Diffstat (limited to 'example/expression/solve_condition_stp.py')
-rw-r--r--example/expression/solve_condition_stp.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/example/expression/solve_condition_stp.py b/example/expression/solve_condition_stp.py
index 004b36f4..8c65c83c 100644
--- a/example/expression/solve_condition_stp.py
+++ b/example/expression/solve_condition_stp.py
@@ -1,5 +1,10 @@
 import os
 import sys
+import subprocess
+from collections import defaultdict
+from optparse import OptionParser
+from pdb import pm
+
 from miasm2.arch.x86.arch import *
 from miasm2.arch.x86.regs import *
 from miasm2.arch.x86.sem import *
@@ -9,15 +14,9 @@ from miasm2.expression.expression import get_rw
 from miasm2.ir.symbexec import symbexec
 from miasm2.expression.simplifications import expr_simp
 from miasm2.expression import stp
-from collections import defaultdict
-from optparse import OptionParser
-import subprocess
 from miasm2.core import parse_asm
-
 from miasm2.arch.x86.disasm import dis_x86_32 as dis_engine
 
-from pdb import pm
-
 
 filename = os.environ.get('PYTHONSTARTUP')
 if filename and os.path.isfile(filename):