static struct ptunit_result ptwrite_m32(void) { uint8_t insn[] = { 0xf3, 0x0f, 0xae, 0x67, 0xcc }; ptu_classify_s(insn, ptem_64bit, PTI_INST_PTWRITE); ptu_classify_s(insn, ptem_32bit, PTI_INST_PTWRITE); ptu_classify_s(insn, ptem_16bit, PTI_INST_PTWRITE); return ptu_passed(); }
static struct ptunit_result vmcall(void) { uint8_t insn[] = { 0x0f, 0x01, 0xc1 }; ptu_classify_s(insn, ptem_64bit, PTI_INST_VMCALL); return ptu_passed(); }
static struct ptunit_result vmresume(void) { uint8_t insn[] = { 0x0f, 0x01, 0xc3 }; ptu_classify_s(insn, ptem_64bit, PTI_INST_VMRESUME); return ptu_passed(); }
static struct ptunit_result vmlaunch(void) { uint8_t insn[] = { 0x0f, 0x01, 0xc2 }; ptu_classify_s(insn, ptem_64bit, PTI_INST_VMLAUNCH); return ptu_passed(); }
static struct ptunit_result ret_ca(void) { uint8_t insn[] = { 0xca, 0x00, 0x00 }; ptu_classify_s(insn, ptem_64bit, PTI_INST_RET_CA); return ptu_passed(); }
static struct ptunit_result jmp_ea_cp(void) { uint8_t insn[] = { 0xea, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; ptu_classify_s(insn, ptem_32bit, PTI_INST_JMP_EA); return ptu_passed(); }
static struct ptunit_result sysenter(void) { pti_uint8_t insn[] = { 0x0f, 0x34 }; ptu_classify_s(insn, PTI_MODE_64, PTI_INST_SYSENTER); return ptu_passed(); }
static struct ptunit_result iret(void) { uint8_t insn[] = { 0xcf }; ptu_classify_s(insn, ptem_64bit, PTI_INST_IRET); return ptu_passed(); }
static struct ptunit_result call_9a_cp(void) { uint8_t insn[] = { 0x9a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; ptu_classify_s(insn, ptem_32bit, PTI_INST_CALL_9A); return ptu_passed(); }
static struct ptunit_result jmp_rel(void) { uint8_t insn[] = { 0xE9, 0x60, 0xF9, 0xFF, 0xFF }; ptu_classify_s(insn, ptem_64bit, PTI_INST_JMP_E9); return ptu_passed(); }
static struct ptunit_result sysexit(void) { uint8_t insn[] = { 0x0f, 0x35 }; ptu_classify_s(insn, ptem_64bit, PTI_INST_SYSEXIT); return ptu_passed(); }
static struct ptunit_result jmp_ea_cd(void) { pti_uint8_t insn[] = { 0xea, 0x00, 0x00, 0x00, 0x00 }; ptu_classify_s(insn, PTI_MODE_16, PTI_INST_JMP_EA); return ptu_passed(); }
static struct ptunit_result call_9a_cd(void) { pti_uint8_t insn[] = { 0x9a, 0x00, 0x00, 0x00, 0x00 }; ptu_classify_s(insn, PTI_MODE_16, PTI_INST_CALL_9A); return ptu_passed(); }
static struct ptunit_result iret(void) { pti_uint8_t insn[] = { 0xcf }; ptu_classify_s(insn, PTI_MODE_64, PTI_INST_IRET); return ptu_passed(); }
static struct ptunit_result vmptrld(void) { uint8_t insn[] = { 0x0f, 0xc7, 0x30 }; ptu_classify_s(insn, ptem_64bit, PTI_INST_VMPTRLD); return ptu_passed(); }
static struct ptunit_result call_ff_3(void) { uint8_t insn[] = { 0xff, 0x1c, 0x25, 0x00, 0x00, 0x00, 0x00 }; ptu_classify_s(insn, ptem_64bit, PTI_INST_CALL_FFr3); return ptu_passed(); }
static struct ptunit_result jrcxz(void) { uint8_t insn[] = { 0xe3, 0x00 }; ptu_classify_s(insn, ptem_64bit, PTI_INST_JrCXZ); return ptu_passed(); }
static struct ptunit_result jmp_ff_5(void) { uint8_t insn[] = { 0xff, 0x2c, 0x25, 0x00, 0x00, 0x00, 0x00 }; ptu_classify_s(insn, ptem_64bit, PTI_INST_JMP_FFr5); return ptu_passed(); }
static struct ptunit_result ptwrite_r64(void) { uint8_t insn[] = { 0xf3, 0x48, 0x0f, 0xae, 0xe7 }; ptu_classify_s(insn, ptem_64bit, PTI_INST_PTWRITE); return ptu_passed(); }
static struct ptunit_result sysret(void) { pti_uint8_t insn[] = { 0x0f, 0x07 }; ptu_classify_s(insn, PTI_MODE_64, PTI_INST_SYSRET); return ptu_passed(); }