1
This commit is contained in:
Huoji's
2022-04-16 02:27:07 +08:00
parent 025c544ebb
commit 83ed6c77d7
3 changed files with 61 additions and 2 deletions

20
cpuDuck.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include <iostream>
extern "C" void asm_fake_jmp();
extern "C" void fake_jmp_end();
void fake_jmp_end() {
printf("you are intel cpu \n");
}
int main()
{
__try
{
asm_fake_jmp();
}
__except (1)
{
printf("you are amd cpu \n");
}
system("pause");
}