|
27 | 27 | *
|
28 | 28 | *
|
29 | 29 | * ============================== SECTIONS ==================================
|
30 |
| - * - enums for publicly accessible techniques => line 551 |
| 30 | + * - enums for publicly accessible techniques => line 550 |
31 | 31 | * - struct for internal cpu operations => line 734
|
32 |
| - * - struct for internal memoization => line 1206 |
33 |
| - * - struct for internal utility functions => line 1330 |
34 |
| - * - struct for internal core components => line 9946 |
35 |
| - * - start of VM detection technique list => line 2357 |
36 |
| - * - start of public VM detection functions => line 10610 |
37 |
| - * - start of externally defined variables => line 11549 |
| 32 | + * - struct for internal memoization => line 1205 |
| 33 | + * - struct for internal utility functions => line 1329 |
| 34 | + * - struct for internal core components => line 9948 |
| 35 | + * - start of VM detection technique list => line 2356 |
| 36 | + * - start of public VM detection functions => line 10612 |
| 37 | + * - start of externally defined variables => line 11551 |
38 | 38 | *
|
39 | 39 | *
|
40 | 40 | * ============================== EXAMPLE ===================================
|
@@ -9379,8 +9379,8 @@ struct VM {
|
9379 | 9379 |
|
9380 | 9380 | constexpr const char* targets[] = {
|
9381 | 9381 | "Parallels Software International", "Parallels(R)", "innotek",
|
9382 |
| - "Oracle", "VirtualBox", "VS2005R2", "VMware, Inc.", |
9383 |
| - "VMware", "VMWARE", "S3 Corp.", "Virtual Machine", "Qemu", "vbox", |
| 9382 | + "Oracle", "VirtualBox", "vbox", "VBOX", "VS2005R2", "VMware, Inc.", |
| 9383 | + "VMware", "VMWARE", "S3 Corp.", "Virtual Machine", "QEMU", "FWCF", |
9384 | 9384 | "WAET", "BOCHS", "BXPC"
|
9385 | 9385 | };
|
9386 | 9386 |
|
@@ -9442,7 +9442,8 @@ struct VM {
|
9442 | 9442 | strcmp(target, "VMware") == 0 ||
|
9443 | 9443 | strcmp(target, "VMWARE") == 0)
|
9444 | 9444 | brand = brands::VMWARE;
|
9445 |
| - else if (strcmp(target, "Qemu") == 0) |
| 9445 | + else if (strcmp(target, "QEMU") == 0 || |
| 9446 | + strcmp(target, "FWCF") == 0) |
9446 | 9447 | brand = brands::QEMU;
|
9447 | 9448 | else if (strcmp(target, "BOCHS") == 0 ||
|
9448 | 9449 | strcmp(target, "BXPC") == 0)
|
@@ -9589,8 +9590,9 @@ struct VM {
|
9589 | 9590 | // Same targets as the Windows branch but without "WAET"
|
9590 | 9591 | constexpr const char* targets[] = {
|
9591 | 9592 | "Parallels Software International", "Parallels(R)", "innotek",
|
9592 |
| - "Oracle", "VirtualBox", "VS2005R2", "VMware, Inc.", |
9593 |
| - "VMware", "S3 Corp.", "Virtual Machine", "Qemu", "vbox", "BOCHS", "BXPC" |
| 9593 | + "Oracle", "VirtualBox", "vbox", "VBOX", "VS2005R2", "VMware, Inc.", |
| 9594 | + "VMware", "VMWARE", "S3 Corp.", "Virtual Machine", "QEMU", "FWCF", |
| 9595 | + "BOCHS", "BXPC" |
9594 | 9596 | };
|
9595 | 9597 |
|
9596 | 9598 | struct dirent* entry;
|
@@ -9658,7 +9660,8 @@ struct VM {
|
9658 | 9660 | strcmp(target, "VMWARE") == 0) {
|
9659 | 9661 | brand = brands::VMWARE;
|
9660 | 9662 | }
|
9661 |
| - else if (strcmp(target, "Qemu") == 0) { |
| 9663 | + else if (strcmp(target, "QEMU") == 0 || |
| 9664 | + strcmp(target, "FWCF") == 0) { |
9662 | 9665 | brand = brands::QEMU;
|
9663 | 9666 | }
|
9664 | 9667 | else if (strcmp(target, "BOCHS") == 0 ||
|
|
0 commit comments