avatar2.archs package

Submodules

avatar2.archs.arm module

class avatar2.archs.arm.ARM

Bases: object

capstone_arch = 0
capstone_mode = 0
qemu_name = 'arm'
registers = {'r12': 12, 'r5': 5, 'r4': 4, 'lr': 14, 'r6': 6, 'r3': 3, 'pc': 15, 'r9': 9, 'r8': 8, 'r0': 0, 'r10': 10, 'r11': 11, 'r7': 7, 'cpsr': 25, 'r2': 2, 'sp': 13, 'r1': 1}
unemulated_instructions = ['mcr', 'mrc']
class avatar2.archs.arm.ARMBE

Bases: avatar2.archs.arm.ARM

capstone_mode = 2147483648
qemu_name = 'armeb'

avatar2.archs.x86 module

class avatar2.archs.x86.X86

Bases: object

capstone_arch = 3
capstone_mode = 4
qemu_name = 'i386'
registers = {'eflags': 9, 'ebx': 3, 'gs': 15, 'ss': 11, 'eax': 0, 'eip': 8, 'es': 13, 'ecx': 1, 'fs': 14, 'ds': 12, 'edi': 7, 'ebp': 5, 'esi': 6, 'cs': 10, 'edx': 2, 'esp': 4}
unemulated_instructions = []
class avatar2.archs.x86.X86_64

Bases: object

qemu_name = 'x86_64'
registers = {'eflags': 17, 'r11': 11, 'rip': 16, 'r15': 15, 'rdx': 3, 'r10': 10, 'rdi': 5, 'r8 ': 8, 'r12': 12, 'r13': 13, 'rsp': 7, 'ss': 19, 'rbp': 6, 'gs': 23, 'pc': 16, 'r9': 9, 'rbx': 1, 'es': 21, 'fs': 22, 'rsi': 4, 'ds': 20, 'cs': 18, 'rax': 0, 'rcx': 2, 'r14': 14}
unemulated_instructions = []

Module contents