Skip to content

Commit 7e7660a

Browse files
committed
added emergency fixes
1 parent f598fe2 commit 7e7660a

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/cli.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ void general(const bool hyperv_setting, const bool enable_notes) {
542542

543543
if (hyperv_setting && diff_brand_check() && brand_vec() && enable_notes) {
544544
std::cout << note <<
545-
" If you know you are running on host, Hyper-V virtualises all applications by default within the host system. This result is in fact correct and NOT a false positive. If you do not want Hyper-V's default virtualisation in the result, run with the \"--discard-hyperv-host\" argument, or disable Hyper-V in your system. See here for more information https://github.com/kernelwernel/VMAware/issues/75\n\n";
545+
" If you know you are running on host, Hyper-V virtualises all applications by default within the host system. This result is in fact correct and NOT a false positive. If you do not want Hyper-V's default virtualisation in the result, run with the \"--disable-hyperv-host\" argument, or disable Hyper-V in your system. See here for more information https://github.com/kernelwernel/VMAware/issues/75\n\n";
546546
} else if (enable_notes) {
547547
std::cout << note <<
548548
" If you found a false positive, please make sure to create an issue at https://github.com/kernelwernel/VMAware/issues\n\n";

src/vmaware.hpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3608,7 +3608,9 @@ struct VM {
36083608
if (check_proc(_T("vmsrvc.exe")) || check_proc(_T("vmusrvc.exe"))) {
36093609
return core::add(VPC);
36103610
}
3611-
3611+
/*
3612+
removed due to potential false positives
3613+
36123614
if (
36133615
check_proc(_T("vmtoolsd.exe")) ||
36143616
check_proc(_T("vmwaretrat.exe")) ||
@@ -3620,6 +3622,7 @@ struct VM {
36203622
) {
36213623
return core::add(VMWARE);
36223624
}
3625+
*/
36233626

36243627
if (check_proc(_T("xenservice.exe")) || check_proc(_T("xsvc_depriv.exe"))) {
36253628
return core::add(XEN);
@@ -7758,6 +7761,8 @@ struct VM {
77587761
constexpr u32 nanovisor = 0x766E6258; // "Xbnv"
77597762
constexpr u32 simplevisor = 0x00766853; // " vhS"
77607763

7764+
debug("CPUID_SIGNATURE: eax = ", eax);
7765+
77617766
switch (eax) {
77627767
case hyperv: return core::add(HYPERV);
77637768
case nanovisor: return core::add(NANOVISOR);

0 commit comments

Comments
 (0)