Changeset 52205 in vbox for trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyProcess-win.cpp
- Timestamp:
- Jul 26, 2014 11:58:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyProcess-win.cpp
r52204 r52205 1266 1266 rcNt = NtFreeVirtualMemory(pThis->hProcess, &pvFree, &cbFree, MEM_RELEASE); 1267 1267 if (!NT_SUCCESS(rcNt)) 1268 supHardNtVpSetInfo2(pThis, VERR_ GENERAL_FAILURE,1268 supHardNtVpSetInfo2(pThis, VERR_SUP_VP_FREE_VIRTUAL_MEMORY_FAILED, 1269 1269 "NtFreeVirtualMemory (%p LB %#zx) failed: %#x", 1270 1270 MemInfo.BaseAddress, MemInfo.RegionSize, rcNt); … … 1286 1286 rcNt2 = NtProtectVirtualMemory(pThis->hProcess, &pvCopy, &cbCopy, PAGE_READONLY, NULL); 1287 1287 if (!NT_SUCCESS(rcNt2)) 1288 supHardNtVpSetInfo2(pThis, VERR_ GENERAL_FAILURE,1288 supHardNtVpSetInfo2(pThis, VERR_SUP_VP_UNMAP_AND_PROTECT_FAILED, 1289 1289 "NtUnmapViewOfSection (%p/%p LB %#zx) failed: %#x (%#x)", 1290 1290 MemInfo.AllocationBase, MemInfo.BaseAddress, MemInfo.RegionSize, rcNt, rcNt2); … … 1292 1292 } 1293 1293 else 1294 supHardNtVpSetInfo2(pThis, VERR_ GENERAL_FAILURE,1294 supHardNtVpSetInfo2(pThis, VERR_SUP_VP_UNKOWN_MEM_TYPE, 1295 1295 "Unknown executable memory type %#x at %p/%p LB %#zx", 1296 1296 MemInfo.Type, MemInfo.AllocationBase, MemInfo.BaseAddress, MemInfo.RegionSize); … … 1559 1559 "The process has no KERNEL32.DLL."); 1560 1560 else if (iKernel32 != UINT32_MAX && pThis->enmKind == SUPHARDNTVPKIND_CHILD_PURIFICATION) 1561 return supHardNtVpSetInfo2(pThis, VERR_ GENERAL_FAILURE,1561 return supHardNtVpSetInfo2(pThis, VERR_SUP_VP_KERNEL32_ALREADY_MAPPED, 1562 1562 "The process already has KERNEL32.DLL loaded."); 1563 1563
Note:
See TracChangeset
for help on using the changeset viewer.