Skip to content

Commit

Permalink
hyperv_fucker prototype 12
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelwernel committed Aug 9, 2024
1 parent 4cefe36 commit 066496b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/vmaware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2032,11 +2032,11 @@ struct VM {
if (x1 || x2 || x3 || x4 || x5) {
is_vm = true;
#ifdef __VMAWARE_DEBUG__
if (x1) { debug("SMBIOS: x1 = ", x1); std::string tmp(x1); result = tmp; }
if (x2) { debug("SMBIOS: x2 = ", x2); std::string tmp(x2); result = tmp; }
if (x3) { debug("SMBIOS: x3 = ", x3); std::string tmp(x3); result = tmp; }
if (x4) { debug("SMBIOS: x4 = ", x4); std::string tmp(x4); result = tmp; }
if (x5) { debug("SMBIOS: x5 = ", x5); std::string tmp(x5); result = tmp; }
if (x1) { debug("SMBIOS: x1 = ", x1); std::string tmp(reinterpret_cast<char*>(x1)); result = tmp; }
if (x2) { debug("SMBIOS: x2 = ", x2); std::string tmp(reinterpret_cast<char*>(x2)); result = tmp; }
if (x3) { debug("SMBIOS: x3 = ", x3); std::string tmp(reinterpret_cast<char*>(x3)); result = tmp; }
if (x4) { debug("SMBIOS: x4 = ", x4); std::string tmp(reinterpret_cast<char*>(x4)); result = tmp; }
if (x5) { debug("SMBIOS: x5 = ", x5); std::string tmp(reinterpret_cast<char*>(x5)); result = tmp; }
#endif
}
LocalFree(p);
Expand Down

0 comments on commit 066496b

Please sign in to comment.