本文整理汇总了C++中ptu_classify_s函数的典型用法代码示例。如果您正苦于以下问题:C++ ptu_classify_s函数的具体用法?C++ ptu_classify_s怎么用?C++ ptu_classify_s使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ptu_classify_s函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:10,代码来源:ptunit-ild.c
示例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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:kasikci,项目名称:processor-trace,代码行数:8,代码来源:ptunit-ild.c
示例8: iret
static struct ptunit_result iret(void)
{
uint8_t insn[] = { 0xcf };
ptu_classify_s(insn, ptem_64bit, PTI_INST_IRET);
return ptu_passed();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:kasikci,项目名称:processor-trace,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:kasikci,项目名称:processor-trace,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:kasikci,项目名称:processor-trace,代码行数:8,代码来源:ptunit-ild.c
示例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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例16: call_ff_3
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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例17: jrcxz
static struct ptunit_result jrcxz(void)
{
uint8_t insn[] = { 0xe3, 0x00 };
ptu_classify_s(insn, ptem_64bit, PTI_INST_JrCXZ);
return ptu_passed();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例18: jmp_ff_5
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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例19: ptwrite_r64
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();
}
开发者ID:FreeBSDFoundation,项目名称:freebsd,代码行数:8,代码来源:ptunit-ild.c
示例20: sysret
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();
}
开发者ID:kasikci,项目名称:processor-trace,代码行数:8,代码来源:ptunit-ild.c
注:本文中的ptu_classify_s函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论