本文整理汇总了C++中ptu_passed函数的典型用法代码示例。如果您正苦于以下问题:C++ ptu_passed函数的具体用法?C++ ptu_passed怎么用?C++ ptu_passed使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ptu_passed函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: 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();
}
示例2: mov_rax_moffs64_32
static struct ptunit_result mov_rax_moffs64_32(void)
{
uint8_t insn[] = { 0x67, 0x48, 0xa1, 0x00, 0x00, 0x00, 0x00 };
ptu_boring_s(insn, ptem_64bit);
return ptu_passed();
}
示例3: les_disp32
static struct ptunit_result les_disp32(void)
{
uint8_t insn[] = { 0xc4, 0x05, 0x00, 0x00, 0x00, 0x00 };
ptu_boring_s(insn, ptem_32bit);
return ptu_passed();
}
示例4: 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();
}
示例5: 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();
}
示例6: 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();
}
示例7: 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();
}
示例8: push
static struct ptunit_result push(void)
{
uint8_t insn[] = { 0x68, 0x11, 0x22, 0x33, 0x44 };
ptu_boring_s(insn, ptem_64bit);
return ptu_passed();
}
示例9: 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();
}
示例10: lds_ind_disp32
static struct ptunit_result lds_ind_disp32(void)
{
uint8_t insn[] = { 0xc5, 0x80, 0x00, 0x00, 0x00, 0x00 };
ptu_decode_s(insn, ptem_32bit);
return ptu_passed();
}
示例11: vpshufb
static struct ptunit_result vpshufb(void)
{
uint8_t insn[] = { 0x62, 0x02, 0x05, 0x00, 0x00, 0x00 };
ptu_decode_s(insn, ptem_64bit);
return ptu_passed();
}
示例12: lds_disp16
static struct ptunit_result lds_disp16(void)
{
uint8_t insn[] = { 0xc5, 0x06, 0x00, 0x00 };
ptu_decode_s(insn, ptem_16bit);
return ptu_passed();
}
示例13: mov_ax_moffs32
static struct ptunit_result mov_ax_moffs32(void)
{
uint8_t insn[] = { 0x66, 0xa1, 0x00, 0x00, 0x00, 0x00 };
ptu_decode_s(insn, ptem_32bit);
return ptu_passed();
}
示例14: mov_al_16_em32
static struct ptunit_result mov_al_16_em32(void)
{
uint8_t insn[] = { 0x67, 0xa0, 0x3f, 0xaa, 0xbb, 0xcc, 0xdd, 0xee };
ptu_decode(insn, 4, ptem_32bit);
return ptu_passed();
}
示例15: 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();
}