Changeset 93274 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Jan 17, 2022 2:42:20 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 149342
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r93273 r93274 2703 2703 iDiff = supdrvNtCompare(pImage, pbImageBits, uRvaNext, pImage->cbImageBits - uRvaNext, pReq); 2704 2704 if (!iDiff) 2705 { 2706 /* 2707 * If there is a cookie init export, call it. 2708 * 2709 * This typically just does: 2710 * __security_cookie = (rdtsc ^ &__security_cookie) & 0xffffffffffff; 2711 * __security_cookie_complement = ~__security_cookie; 2712 */ 2713 PFNRT pfnModuleInitSecurityCookie = NULL; 2714 int rcSym = supdrvOSLdrQuerySymbol(pDevExt, pImage, RT_STR_TUPLE("ModuleInitSecurityCookie"), 2715 (void **)&pfnModuleInitSecurityCookie); 2716 if (RT_SUCCESS(rcSym) && pfnModuleInitSecurityCookie) 2717 pfnModuleInitSecurityCookie(); 2718 2705 2719 return VINF_SUCCESS; 2720 } 2706 2721 } 2707 2722 else
Note:
See TracChangeset
for help on using the changeset viewer.