diff options
Diffstat (limited to 'test/arch/x86')
| -rw-r--r-- | test/arch/x86/arch.py | 12 | ||||
| -rw-r--r-- | test/arch/x86/qemu/testqemu.py | 6 | ||||
| -rw-r--r-- | test/arch/x86/qemu/testqemu64.py | 6 | ||||
| -rwxr-xr-x | test/arch/x86/sem.py | 16 | ||||
| -rw-r--r-- | test/arch/x86/unit/access_xmm.py | 2 | ||||
| -rw-r--r-- | test/arch/x86/unit/asm_test.py | 12 | ||||
| -rw-r--r-- | test/arch/x86/unit/mn_cdq.py | 2 | ||||
| -rwxr-xr-x | test/arch/x86/unit/mn_int.py | 2 | ||||
| -rwxr-xr-x | test/arch/x86/unit/mn_pushpop.py | 2 | ||||
| -rwxr-xr-x | test/arch/x86/unit/mn_seh.py | 4 | ||||
| -rw-r--r-- | test/arch/x86/unit/test_asm_x86_64.py | 8 |
11 files changed, 36 insertions, 36 deletions
diff --git a/test/arch/x86/arch.py b/test/arch/x86/arch.py index b4cebd28..202ecac5 100644 --- a/test/arch/x86/arch.py +++ b/test/arch/x86/arch.py @@ -2,13 +2,13 @@ from __future__ import print_function import time from pdb import pm -from miasm2.core.utils import decode_hex, encode_hex -import miasm2.expression.expression as m2_expr -from miasm2.arch.x86.arch import mn_x86, deref_mem_ad, \ +from miasm.core.utils import decode_hex, encode_hex +import miasm.expression.expression as m2_expr +from miasm.arch.x86.arch import mn_x86, deref_mem_ad, \ base_expr, rmarg, print_size -from miasm2.arch.x86.sem import ir_x86_16, ir_x86_32, ir_x86_64 -from miasm2.core.bin_stream import bin_stream_str -from miasm2.core.locationdb import LocationDB +from miasm.arch.x86.sem import ir_x86_16, ir_x86_32, ir_x86_64 +from miasm.core.bin_stream import bin_stream_str +from miasm.core.locationdb import LocationDB loc_db = LocationDB() diff --git a/test/arch/x86/qemu/testqemu.py b/test/arch/x86/qemu/testqemu.py index 264a84b9..99d6e6c1 100644 --- a/test/arch/x86/qemu/testqemu.py +++ b/test/arch/x86/qemu/testqemu.py @@ -10,9 +10,9 @@ try: except AttributeError: pass -from miasm2.analysis.sandbox import Sandbox_Linux_x86_32 -from miasm2.jitter.jitload import log_func -from miasm2.jitter.csts import PAGE_READ, PAGE_WRITE +from miasm.analysis.sandbox import Sandbox_Linux_x86_32 +from miasm.jitter.jitload import log_func +from miasm.jitter.csts import PAGE_READ, PAGE_WRITE # Utils def parse_fmt(s): diff --git a/test/arch/x86/qemu/testqemu64.py b/test/arch/x86/qemu/testqemu64.py index 4fe51992..24193d40 100644 --- a/test/arch/x86/qemu/testqemu64.py +++ b/test/arch/x86/qemu/testqemu64.py @@ -10,9 +10,9 @@ try: except AttributeError: pass -from miasm2.analysis.sandbox import Sandbox_Linux_x86_64 -from miasm2.jitter.jitload import log_func -from miasm2.jitter.csts import PAGE_READ, PAGE_WRITE +from miasm.analysis.sandbox import Sandbox_Linux_x86_64 +from miasm.jitter.jitload import log_func +from miasm.jitter.csts import PAGE_READ, PAGE_WRITE # Utils def parse_fmt(s): diff --git a/test/arch/x86/sem.py b/test/arch/x86/sem.py index c0cfc8f2..5109d2b4 100755 --- a/test/arch/x86/sem.py +++ b/test/arch/x86/sem.py @@ -12,14 +12,14 @@ import unittest import logging import copy -from miasm2.ir.symbexec import SymbolicExecutionEngine -from miasm2.arch.x86.arch import mn_x86 as mn -from miasm2.arch.x86.sem import ir_x86_32 as ir_32, ir_x86_64 as ir_64 -from miasm2.arch.x86.regs import * -from miasm2.expression.expression import * -from miasm2.expression.simplifications import expr_simp -from miasm2.core import parse_asm, asmblock -from miasm2.core.locationdb import LocationDB +from miasm.ir.symbexec import SymbolicExecutionEngine +from miasm.arch.x86.arch import mn_x86 as mn +from miasm.arch.x86.sem import ir_x86_32 as ir_32, ir_x86_64 as ir_64 +from miasm.arch.x86.regs import * +from miasm.expression.expression import * +from miasm.expression.simplifications import expr_simp +from miasm.core import parse_asm, asmblock +from miasm.core.locationdb import LocationDB logging.getLogger('cpuhelper').setLevel(logging.ERROR) diff --git a/test/arch/x86/unit/access_xmm.py b/test/arch/x86/unit/access_xmm.py index 8354c30f..65248b2e 100644 --- a/test/arch/x86/unit/access_xmm.py +++ b/test/arch/x86/unit/access_xmm.py @@ -1,7 +1,7 @@ #! /usr/bin/env python2 """Test getter and setter for XMM registers (128 bits)""" -from miasm2.analysis.machine import Machine +from miasm.analysis.machine import Machine # Jitter engine doesn't matter, use the always available 'python' one myjit = Machine("x86_32").jitter("python") diff --git a/test/arch/x86/unit/asm_test.py b/test/arch/x86/unit/asm_test.py index a87fe278..0059f511 100644 --- a/test/arch/x86/unit/asm_test.py +++ b/test/arch/x86/unit/asm_test.py @@ -5,13 +5,13 @@ import os from future.utils import viewitems -from miasm2.arch.x86.arch import mn_x86, base_expr, variable -from miasm2.core import parse_asm -from miasm2.expression.expression import * -from miasm2.core import asmblock +from miasm.arch.x86.arch import mn_x86, base_expr, variable +from miasm.core import parse_asm +from miasm.expression.expression import * +from miasm.core import asmblock from elfesteem.strpatchwork import StrPatchwork -from miasm2.analysis.machine import Machine -from miasm2.jitter.csts import * +from miasm.analysis.machine import Machine +from miasm.jitter.csts import * reg_and_id = dict(mn_x86.regs.all_regs_ids_byname) diff --git a/test/arch/x86/unit/mn_cdq.py b/test/arch/x86/unit/mn_cdq.py index 947b40bb..d015ede9 100644 --- a/test/arch/x86/unit/mn_cdq.py +++ b/test/arch/x86/unit/mn_cdq.py @@ -3,7 +3,7 @@ import sys from asm_test import Asm_Test_16, Asm_Test_32, Asm_Test_64 -from miasm2.core.utils import pck16, pck32 +from miasm.core.utils import pck16, pck32 class Test_CBW_16(Asm_Test_16): diff --git a/test/arch/x86/unit/mn_int.py b/test/arch/x86/unit/mn_int.py index efacb105..8cb8080f 100755 --- a/test/arch/x86/unit/mn_int.py +++ b/test/arch/x86/unit/mn_int.py @@ -1,7 +1,7 @@ #! /usr/bin/env python2 import sys -from miasm2.jitter.csts import EXCEPT_INT_XX +from miasm.jitter.csts import EXCEPT_INT_XX from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_pushpop.py b/test/arch/x86/unit/mn_pushpop.py index fedd197b..6dc37b74 100755 --- a/test/arch/x86/unit/mn_pushpop.py +++ b/test/arch/x86/unit/mn_pushpop.py @@ -3,7 +3,7 @@ import sys from asm_test import Asm_Test_16, Asm_Test_32 -from miasm2.core.utils import pck16, pck32 +from miasm.core.utils import pck16, pck32 def init_regs(test): diff --git a/test/arch/x86/unit/mn_seh.py b/test/arch/x86/unit/mn_seh.py index 1fa0900e..8575cc46 100755 --- a/test/arch/x86/unit/mn_seh.py +++ b/test/arch/x86/unit/mn_seh.py @@ -2,10 +2,10 @@ from __future__ import print_function import sys -from miasm2.os_dep.win_api_x86_32_seh import fake_seh_handler, build_teb, \ +from miasm.os_dep.win_api_x86_32_seh import fake_seh_handler, build_teb, \ set_win_fs_0, return_from_exception, EXCEPTION_PRIV_INSTRUCTION, \ return_from_seh, DEFAULT_SEH -from miasm2.os_dep.win_32_structs import ContextException +from miasm.os_dep.win_32_structs import ContextException from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/test_asm_x86_64.py b/test/arch/x86/unit/test_asm_x86_64.py index 4e600846..e23f9a19 100644 --- a/test/arch/x86/unit/test_asm_x86_64.py +++ b/test/arch/x86/unit/test_asm_x86_64.py @@ -1,7 +1,7 @@ -from miasm2.core import asmblock -from miasm2.arch.x86 import arch -from miasm2.core import parse_asm -from miasm2.core.interval import interval +from miasm.core import asmblock +from miasm.arch.x86 import arch +from miasm.core import parse_asm +from miasm.core.interval import interval my_mn = arch.mn_x86 |