Searched defs:cbProt (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Runtime/r3/win/
H A Dalloc-win.cpp59 size_t cbProt = ((uintptr_t)pv & PAGE_OFFSET_MASK) + cb; variable
60 cbProt = RT_ALIGN_Z(cbProt, PAGE_SIZE);
62 if (!VirtualProtect(pvProt, cbProt, PAGE_EXECUTE_READWRITE, &fFlags))
64 AssertMsgFailed(("VirtualProtect(%p, %#x,,) -> lasterr=%d\n", pvProt, cbProt, GetLastError()));
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyProcess-win.cpp350 SIZE_T cbProt = cbToRestore; local
352 NTSTATUS rcNt = NtProtectVirtualMemory(pThis->hProcess, &pvProt, &cbProt, PAGE_READWRITE, &fOldProt);
359 cbProt = cbToRestore;
360 NTSTATUS rcNt2 = NtProtectVirtualMemory(pThis->hProcess, &pvProt, &cbProt, fCorrectProtection, &fOldProt);
H A DSUPR3HardenedMain-win.cpp2625 SIZE_T cbProt = cbBackup; local
2627 rcNt = NtProtectVirtualMemory(hProcess, &pvProt, &cbProt, PAGE_EXECUTE_READWRITE, &fOldProt);
2638 cbProt = cbBackup;
2639 rcNt = NtProtectVirtualMemory(hProcess, &pvProt, &cbProt, fOldProt, &fOldProt);
2668 SIZE_T cbProt = cbBackup; local
2670 NTSTATUS rcNt = NtProtectVirtualMemory(hProcess, &pvProt, &cbProt, PAGE_EXECUTE_READWRITE, &fOldProt);
2683 cbProt = cbBackup;
2684 rcNt = NtProtectVirtualMemory(hProcess, &pvProt, &cbProt, fOldProt, &fOldProt);
3568 SIZE_T cbProt = sizeof(abNew); local
3570 rcNt = NtProtectVirtualMemory(pThis->hProcess, &pvProt, &cbProt, PAGE_EXECUTE_READWRIT
[all...]

Completed in 64 milliseconds