about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2014-12-18 20:49:46 +0100
committerCamille Mougey <camille.mougey@cea.fr>2014-12-20 17:44:23 +0100
commit307d43e4c643e55d6ddcc9b29152e526c1dae31f (patch)
treed4a4e6408229ea35812564163a3acb8512cbccf0
parent73c67175687e4dfbc3a2c40a57a616db45e6f7f2 (diff)
downloadmiasm-307d43e4c643e55d6ddcc9b29152e526c1dae31f.tar.gz
miasm-307d43e4c643e55d6ddcc9b29152e526c1dae31f.zip
Example: Remove unused loader.elf imports
-rw-r--r--example/test_jit_arm.py1
-rw-r--r--example/test_jit_arm_sc.py1
-rw-r--r--example/test_jit_mips32.py3
-rw-r--r--example/test_jit_msp430.py2
4 files changed, 1 insertions, 6 deletions
diff --git a/example/test_jit_arm.py b/example/test_jit_arm.py
index e4eddad3..12878a30 100644
--- a/example/test_jit_arm.py
+++ b/example/test_jit_arm.py
@@ -3,7 +3,6 @@
 from miasm2.analysis import debugging, gdbserver
 
 from miasm2.analysis.sandbox import Sandbox_Linux_arml
-from miasm2.jitter.loader.elf import vm_load_elf, preload_elf
 from miasm2.analysis.machine import Machine
 import logging
 
diff --git a/example/test_jit_arm_sc.py b/example/test_jit_arm_sc.py
index 2cac8686..0ec2a5ee 100644
--- a/example/test_jit_arm_sc.py
+++ b/example/test_jit_arm_sc.py
@@ -4,7 +4,6 @@ from miasm2.analysis import debugging, gdbserver
 
 from miasm2.analysis.sandbox import Sandbox_Linux_armb_str
 from miasm2.analysis.sandbox import Sandbox_Linux_arml_str
-from miasm2.jitter.loader.elf import vm_load_elf, preload_elf
 from miasm2.analysis.machine import Machine
 from elfesteem.strpatchwork import StrPatchwork
 import logging
diff --git a/example/test_jit_mips32.py b/example/test_jit_mips32.py
index f09e2d81..d027ec50 100644
--- a/example/test_jit_mips32.py
+++ b/example/test_jit_mips32.py
@@ -3,9 +3,8 @@
 from argparse import ArgumentParser
 from miasm2.analysis import debugging, gdbserver
 from miasm2.jitter.csts import *
-
-from miasm2.jitter.loader.elf import vm_load_elf, preload_elf
 from miasm2.analysis.machine import Machine
+
 from pdb import pm
 
 parser = ArgumentParser(
diff --git a/example/test_jit_msp430.py b/example/test_jit_msp430.py
index 4df9a869..5aa1f340 100644
--- a/example/test_jit_msp430.py
+++ b/example/test_jit_msp430.py
@@ -3,8 +3,6 @@
 from argparse import ArgumentParser
 from miasm2.analysis import debugging, gdbserver
 from miasm2.jitter.csts import *
-
-from miasm2.jitter.loader.elf import vm_load_elf, preload_elf
 from miasm2.analysis.machine import Machine
 
 parser = ArgumentParser(