Searched refs:g_System32NtPath (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyImage-win.cpp124 SUPSYSROOTDIRBUF g_System32NtPath; variable
703 uint32_t cwcWinDir = (g_System32NtPath.UniStr.Length - sizeof(L"System32")) / sizeof(WCHAR);
708 if (memcmp(pwszPath, g_System32NtPath.UniStr.Buffer, cwcWinDir * sizeof(WCHAR)))
765 uint32_t cwcOther = g_System32NtPath.UniStr.Length / sizeof(WCHAR);
766 if (supHardViUtf16PathStartsWithEx(pwszName, cwcName, g_System32NtPath.UniStr.Buffer, cwcOther, true /*fCheckSlash*/))
846 cwcOther = g_System32NtPath.UniStr.Length / sizeof(WCHAR); /* ASSUMES System32 is called System32. */
1120 g_System32NtPath.UniStr.Buffer, g_System32NtPath.UniStr.Length / sizeof(WCHAR),
1666 int rc = supHardNtGetSystemRootDir(&g_System32NtPath, sizeof(g_System32NtPath), kSupHardNtSysRootDir_System3
[all...]
H A DSUPR3HardenedMain-win.cpp768 if ( g_System32NtPath.UniStr.Length / sizeof(WCHAR) == cwcDir
769 && supR3HardenedWinVerifyCacheIsMatch(pawcDir, g_System32NtPath.UniStr.Buffer, cwcDir))
801 if (supR3HardenedWinVerifyCacheLookupImport(g_System32NtPath.UniStr.Buffer,
802 g_System32NtPath.UniStr.Length / sizeof(WCHAR),
888 if ( !supR3HardenedWinVerifyCacheLookupImport(g_System32NtPath.UniStr.Buffer,
889 g_System32NtPath.UniStr.Length / sizeof(WCHAR),
906 AssertCompile(sizeof(wszPath) > sizeof(g_System32NtPath));
984 { g_System32NtPath.UniStr.Buffer, g_System32NtPath.UniStr.Length / sizeof(WCHAR) },
1320 && uBuf.UniStr.Length > g_System32NtPath
[all...]
H A DSUPHardenedVerify-win.h196 extern SUPSYSROOTDIRBUF g_System32NtPath;
H A DSUPHardenedVerifyProcess-win.cpp1370 if ( ( cwcDirName * sizeof(WCHAR) != g_System32NtPath.UniStr.Length
1371 || suplibHardenedMemComp(pLongName->Buffer, g_System32NtPath.UniStr.Buffer, cwcDirName * sizeof(WCHAR)) )
1380 pLongName->Buffer, g_System32NtPath.UniStr.Buffer);
2256 * Note! We cannot assume that g_System32NtPath has been initialized at this point.
H A DSUPDrv-win.cpp2305 uint8_t abBuffer[sizeof(g_System32NtPath) + 16 * sizeof(WCHAR)];
2318 uint32_t cbSystem32 = g_System32NtPath.UniStr.Length;
2321 if (memcmp(pwszName, g_System32NtPath.UniStr.Buffer, cbSystem32))

Completed in 136 milliseconds