diff options
Diffstat (limited to 'example/asm')
| -rwxr-xr-x | example/asm/shellcode.py | 10 | ||||
| -rw-r--r-- | example/asm/simple.py | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/example/asm/shellcode.py b/example/asm/shellcode.py index b14b7441..ed489bbd 100755 --- a/example/asm/shellcode.py +++ b/example/asm/shellcode.py @@ -7,11 +7,11 @@ from future.utils import viewitems from elfesteem import pe_init from elfesteem.strpatchwork import StrPatchwork -from miasm2.core import parse_asm, asmblock -from miasm2.analysis.machine import Machine -from miasm2.core.interval import interval -from miasm2.core.locationdb import LocationDB -from miasm2.core.utils import iterbytes, int_to_byte +from miasm.core import parse_asm, asmblock +from miasm.analysis.machine import Machine +from miasm.core.interval import interval +from miasm.core.locationdb import LocationDB +from miasm.core.utils import iterbytes, int_to_byte parser = ArgumentParser("Multi-arch (32 bits) assembler") parser.add_argument('architecture', help="architecture: " + diff --git a/example/asm/simple.py b/example/asm/simple.py index e46faa48..8f6aac92 100644 --- a/example/asm/simple.py +++ b/example/asm/simple.py @@ -2,8 +2,8 @@ from __future__ import print_function from pdb import pm from pprint import pprint -from miasm2.arch.x86.arch import mn_x86 -from miasm2.core import parse_asm, asmblock +from miasm.arch.x86.arch import mn_x86 +from miasm.core import parse_asm, asmblock # Assemble code |