本文整理汇总了C++中ptu_classify_s函数的典型用法代码示例。如果您正苦于以下问题:C++ ptu_classify_s函数的具体用法?C++ ptu_classify_s怎么用?C++ ptu_classify_s使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ptu_classify_s函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: ptwrite_m32
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();
}
示例2: vmcall
static struct ptunit_result vmcall(void)
{
uint8_t insn[] = { 0x0f, 0x01, 0xc1 };
ptu_classify_s(insn, ptem_64bit, PTI_INST_VMCALL);
return ptu_passed();
}
示例3: vmresume
static struct ptunit_result vmresume(void)
{
uint8_t insn[] = { 0x0f, 0x01, 0xc3 };
ptu_classify_s(insn, ptem_64bit, PTI_INST_VMRESUME);
return ptu_passed();
}
示例4: vmlaunch
static struct ptunit_result vmlaunch(void)
{
uint8_t insn[] = { 0x0f, 0x01, 0xc2 };
ptu_classify_s(insn, ptem_64bit, PTI_INST_VMLAUNCH);
return ptu_passed();
}
示例5: ret_ca
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();
}
示例6: jmp_ea_cp
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();
}
示例7: sysenter
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();
}
示例8: iret
static struct ptunit_result iret(void)
{
uint8_t insn[] = { 0xcf };
ptu_classify_s(insn, ptem_64bit, PTI_INST_IRET);
return ptu_passed();
}
示例9: call_9a_cp
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();
}
示例10: jmp_rel
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();
}
示例11: sysexit
static struct ptunit_result sysexit(void)
{
uint8_t insn[] = { 0x0f, 0x35 };
ptu_classify_s(insn, ptem_64bit, PTI_INST_SYSEXIT);
return ptu_passed();
}
示例12: jmp_ea_cd
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();
}
示例13: call_9a_cd
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();
}
示例14: iret
static struct ptunit_result iret(void)
{
pti_uint8_t insn[] = { 0xcf };
ptu_classify_s(insn, PTI_MODE_64, PTI_INST_IRET);
return ptu_passed();
}
示例15: vmptrld
static struct ptunit_result vmptrld(void)
{
uint8_t insn[] = { 0x0f, 0xc7, 0x30 };
ptu_classify_s(insn, ptem_64bit, PTI_INST_VMPTRLD);
return ptu_passed();
}