Load the driver.
55{
56 char CpuId[13] = {0};
57
58
59
60
62
63 printf("current processor vendor is : %s\n", CpuId);
64
65 if (strcmp(CpuId, "GenuineIntel") == 0)
66 {
67 printf("virtualization technology is vt-x\n");
68 }
69 else
70 {
71 printf("this program is not designed to run in a non-VT-x "
72 "environment !\n");
73 return 1;
74 }
75
76
77
78
80 {
81 printf("vmx operation is supported by your processor\n");
82 }
83 else
84 {
85 printf("vmx operation is not supported by your processor\n");
86 return 1;
87 }
88
89
90
91
92
93
94
95
96
98
99
100
101
103
104 return 0;
105}
char CHAR
Definition BasicTypes.h:31
IMPORT_EXPORT_LIBHYPERDBG PVOID hyperdbg_u_set_text_message_callback_using_shared_buffer(PVOID handler)
Set the function callback that will be called if any message needs to be shown (using shared buffer m...
Definition export.cpp:144
IMPORT_EXPORT_LIBHYPERDBG INT hyperdbg_u_interpreter(CHAR *command)
Interprets the command.
Definition export.cpp:105
IMPORT_EXPORT_LIBHYPERDBG VOID hyperdbg_u_read_vendor_string(CHAR *)
Read the vendor string of the CPU.
Definition export.cpp:39
IMPORT_EXPORT_LIBHYPERDBG BOOLEAN hyperdbg_u_detect_vmx_support()
Detects the support of VMX.
Definition export.cpp:27
int hyperdbg_show_messages_shared_buffer()
Show messages (shared buffer)
Definition hyperdbg-app.cpp:39
PVOID g_SharedMessageBuffer
Definition hyperdbg-app.cpp:15