Hypervisor 확인하기
int _tmain(int argc, _TCHAR* argv[]){bool x=0;__asm{ pushad pushfd pop eax or eax,0x00200000 push eax popfd pushfd pop eax and eax,0x00200000 jz CPUID_NOT_SUPPORTED ;Are you still alive? xor eax,eax xor edx,edx xor ecx,ecx xor ebx,ebx inc eax ;processor info and feature bits cpuid test ecx,0x80000000 ;Hypervisor present jnz Hypervisor mov x,0 jmp byeHypervisor: mov x,1 jmp byeCPUID_NOT_SUPPORTED..
더보기