about summary refs log tree commit diff stats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rwxr-xr-xexample/asm/shellcode.py4
-rw-r--r--example/elfesteem/minidump_to_pe.py4
-rw-r--r--example/elfesteem/test_pe.py4
-rwxr-xr-xexample/jitter/arm_sc.py2
-rw-r--r--example/jitter/run_with_linuxenv.py2
-rw-r--r--example/jitter/unpack_upx.py2
6 files changed, 9 insertions, 9 deletions
diff --git a/example/asm/shellcode.py b/example/asm/shellcode.py
index 59ea3a94..67c882e9 100755
--- a/example/asm/shellcode.py
+++ b/example/asm/shellcode.py
@@ -4,8 +4,8 @@ from argparse import ArgumentParser
 from pdb import pm
 
 from future.utils import viewitems
-from miasm.elfesteem import pe_init
-from miasm.elfesteem.strpatchwork import StrPatchwork
+from miasm.loader import pe_init
+from miasm.loader.strpatchwork import StrPatchwork
 
 from miasm.core import parse_asm, asmblock
 from miasm.analysis.machine import Machine
diff --git a/example/elfesteem/minidump_to_pe.py b/example/elfesteem/minidump_to_pe.py
index 8aff3e62..30a95325 100644
--- a/example/elfesteem/minidump_to_pe.py
+++ b/example/elfesteem/minidump_to_pe.py
@@ -5,8 +5,8 @@ import sys
 
 from future.utils import viewvalues
 
-from miasm.elfesteem.minidump_init import Minidump
-from miasm.elfesteem.pe_init import PE
+from miasm.loader.minidump_init import Minidump
+from miasm.loader.pe_init import PE
 
 minidump = Minidump(open(sys.argv[1], 'rb').read())
 
diff --git a/example/elfesteem/test_pe.py b/example/elfesteem/test_pe.py
index e9cff0b4..543cbea5 100644
--- a/example/elfesteem/test_pe.py
+++ b/example/elfesteem/test_pe.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 
-import miasm.elfesteem.pe as pe
-from miasm.elfesteem.pe_init import PE
+import miasm.loader.pe as pe
+from miasm.loader.pe_init import PE
 import rlcompleter
 import readline
 import pdb
diff --git a/example/jitter/arm_sc.py b/example/jitter/arm_sc.py
index ddadbf29..9ff770ff 100755
--- a/example/jitter/arm_sc.py
+++ b/example/jitter/arm_sc.py
@@ -3,7 +3,7 @@
 from miasm.core.utils import int_to_byte
 from miasm.analysis.sandbox import Sandbox_Linux_armb_str
 from miasm.analysis.sandbox import Sandbox_Linux_arml_str
-from miasm.elfesteem.strpatchwork import StrPatchwork
+from miasm.loader.strpatchwork import StrPatchwork
 
 from pdb import pm
 
diff --git a/example/jitter/run_with_linuxenv.py b/example/jitter/run_with_linuxenv.py
index 0237cc94..f981d2dd 100644
--- a/example/jitter/run_with_linuxenv.py
+++ b/example/jitter/run_with_linuxenv.py
@@ -2,7 +2,7 @@ from argparse import ArgumentParser
 import logging
 import re
 
-from miasm.elfesteem import elf as elf_csts
+from miasm.loader import elf as elf_csts
 
 from miasm.os_dep.linux import environment, syscall
 from miasm.analysis.machine import Machine
diff --git a/example/jitter/unpack_upx.py b/example/jitter/unpack_upx.py
index 05d28b16..3b8125f4 100644
--- a/example/jitter/unpack_upx.py
+++ b/example/jitter/unpack_upx.py
@@ -2,7 +2,7 @@ from __future__ import print_function
 import os
 import logging
 from pdb import pm
-from miasm.elfesteem import pe
+from miasm.loader import pe
 from miasm.analysis.sandbox import Sandbox_Win_x86_32
 
 # User defined methods