Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelwernel authored Sep 11, 2024
2 parents bf7eb42 + 1a98569 commit e26bc2c
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions src/vmaware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1996,27 +1996,27 @@ struct VM {
typedef NTSTATUS(WINAPI* RtlGetVersionFunc)(PRTL_OSVERSIONINFOW);

const std::map<DWORD, u8> windowsVersions = {
{ 6002, 6 }, // windows vista, technically no number but this function is just for great than operations anyway so it doesn't matter
{ 7601, 7 },
{ 9200, 8 },
{ 9600, 8 },
{ 10240, 10 },
{ 10586, 10 },
{ 14393, 10 },
{ 15063, 10 },
{ 16299, 10 },
{ 17134, 10 },
{ 17763, 10 },
{ 18362, 10 },
{ 18363, 10 },
{ 19041, 10 },
{ 19042, 10 },
{ 19043, 10 },
{ 19044, 10 },
{ 19045, 10 },
{ 22000, 11 },
{ 22621, 11 },
{ 22631, 11 }
{ 6002, static_cast<u8>(6) }, // windows vista, technically no number but this function is just for great than operations anyway so it doesn't matter
{ 7601, static_cast<u8>(7) },
{ 9200, static_cast<u8>(8) },
{ 9600, static_cast<u8>(8) },
{ 10240, static_cast<u8>(10) },
{ 10586, static_cast<u8>(10) },
{ 14393, static_cast<u8>(10) },
{ 15063, static_cast<u8>(10) },
{ 16299, static_cast<u8>(10) },
{ 17134, static_cast<u8>(10) },
{ 17763, static_cast<u8>(10) },
{ 18362, static_cast<u8>(10) },
{ 18363, static_cast<u8>(10) },
{ 19041, static_cast<u8>(10) },
{ 19042, static_cast<u8>(10) },
{ 19043, static_cast<u8>(10) },
{ 19044, static_cast<u8>(10) },
{ 19045, static_cast<u8>(10) },
{ 22000, static_cast<u8>(11) },
{ 22621, static_cast<u8>(11) },
{ 22631, static_cast<u8>(11) }
};

HMODULE ntdll = LoadLibraryW(L"ntdll.dll");
Expand Down Expand Up @@ -10373,4 +10373,4 @@ const std::map<VM::enum_flags, VM::core::technique> VM::core::technique_table =
{ VM::WSL_PROC, { 30, VM::wsl_proc_subdir, false } },
{ VM::ANYRUN_DRIVER, { 65, VM::anyrun_driver, false } },
{ VM::ANYRUN_DIRECTORY, { 35, VM::anyrun_directory, false } }
};
};

0 comments on commit e26bc2c

Please sign in to comment.