Skip to content

X86

X86_MATH_INSTRUCTIONS = {X86_INS_ADD: '+', X86_INS_SUB: '-', X86_INS_AND: '&', X86_INS_OR: '|'} module-attribute

access = {v: kfor (k, v) in globals().items() if k.startswith('CS_AC_')} module-attribute

assistant = DisassemblyAssistant('x86-64') module-attribute

groups = {v: kfor (k, v) in globals().items() if k.startswith('X86_GRP_')} module-attribute

ops = {v: kfor (k, v) in globals().items() if k.startswith('X86_OP_')} module-attribute

regs = {v: kfor (k, v) in globals().items() if k.startswith('X86_REG_')} module-attribute

DisassemblyAssistant

Bases: DisassemblyAssistant

annotation_handlers: Dict[int, Callable[[PwndbgInstruction, Emulator], None]] = {X86_INS_MOV: self.handle_mov, X86_INS_MOVABS: self.handle_mov, X86_INS_MOVZX: self.handle_mov, X86_INS_MOVD: self.handle_mov, X86_INS_MOVQ: self.handle_mov, X86_INS_MOVSXD: self.handle_mov, X86_INS_MOVSX: self.handle_mov, X86_INS_MOVAPS: self.handle_vmovaps, X86_INS_VMOVAPS: self.handle_vmovaps, X86_INS_LEA: self.handle_lea, X86_INS_XCHG: self.handle_xchg, X86_INS_POP: self.handle_pop, X86_INS_CMP: self._common_cmp_annotator_builder('eflags', '-'), X86_INS_TEST: self._common_cmp_annotator_builder('eflags', '&'), X86_INS_XOR: self.handle_xor, X86_INS_INC: self.handle_inc, X86_INS_DEC: self.handle_dec} instance-attribute

__init__(architecture)

handle_dec(instruction, emu)

handle_inc(instruction, emu)

handle_lea(instruction, emu)

handle_mov(instruction, emu)

handle_pop(instruction, emu)

handle_vmovaps(instruction, emu)

handle_xchg(instruction, emu)

handle_xor(instruction, emu)

memory_string_with_components_resolved(instruction, op)