Searched defs:cbPatch (Results 1 - 2 of 2) sorted by relevance
/vbox/src/VBox/Debugger/ |
H A D | DBGPlugInWinNt.cpp | 335 uint32_t cbPatch = sizeof(SizeOfImage); local 338 if (offFile + cbToRead < pThis->offSizeOfImage + cbPatch) 339 cbPatch = offFile + cbToRead - pThis->offSizeOfImage; 340 while (cbPatch-- > 0)
|
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPR3HardenedMain-win.cpp | 2262 size_t cbPatch; member in struct:__anon16393 2277 if (memcmp(pbApi, s_aPatches[i].pabPatch, s_aPatches[i].cbPatch) != 0) 2287 s_aPatches[i].pszName, pbApi, s_aPatches[i].cbPatch, pbApi)); 2290 Assert(s_aPatches[i].cbPatch >= 4); 2292 SUPR3HARDENED_ASSERT_NT_SUCCESS(supR3HardenedWinProtectMemory(pbApi, s_aPatches[i].cbPatch, PAGE_EXECUTE_READWRITE)); 2301 memcpy(pbApi, s_aPatches[i].pabPatch, s_aPatches[i].cbPatch); 2320 if (s_aPatches[i].cbPatch > 4) 2321 memcpy(&pbApi[4], &s_aPatches[i].pabPatch[4], s_aPatches[i].cbPatch - 4); 2325 SUPR3HARDENED_ASSERT_NT_SUCCESS(supR3HardenedWinProtectMemory(pbApi, s_aPatches[i].cbPatch, PAGE_EXECUTE_READ));
|
Completed in 47 milliseconds