Searched refs:MemInfo (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Runtime/r3/win/
H A Dallocex-win.cpp51 MEMORY_BASIC_INFORMATION MemInfo; local
52 SIZE_T cbRange = VirtualQuery((void *)uAddr, &MemInfo, sizeof(MemInfo));
53 AssertReturn(cbRange == sizeof(MemInfo), VERR_NOT_SUPPORTED);
54 Assert(MemInfo.RegionSize > 0);
56 if ( MemInfo.State == MEM_FREE
57 && MemInfo.RegionSize >= cbAlloc)
69 uintptr_t uAddrNext = (uintptr_t)MemInfo.BaseAddress + MemInfo.RegionSize;
/vbox/src/VBox/HostDrivers/Support/testcase/
H A DtstNtQueryStuff.cpp171 MEMORY_BASIC_INFORMATION MemInfo = { 0, 0, 0, 0, 0, 0, 0 }; local
175 &MemInfo,
176 sizeof(MemInfo),
190 if ( MemInfo.AllocationBase != NULL
191 && MemInfo.AllocationBase == MemInfo.BaseAddress
192 && MemInfo.Protect != MemInfo.AllocationProtect)
196 MemInfo.BaseAddress, (uintptr_t)MemInfo
[all...]
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyProcess-win.cpp1789 MEMORY_BASIC_INFORMATION MemInfo = { 0, 0, 0, 0, 0, 0, 0 }; local
1793 &MemInfo,
1794 sizeof(MemInfo),
1807 if ( MemInfo.Type == SEC_IMAGE
1808 || MemInfo.Type == SEC_PROTECTED_IMAGE
1809 || MemInfo.Type == (SEC_IMAGE | SEC_PROTECTED_IMAGE))
1822 SUP_DPRINTF((MemInfo.AllocationBase == MemInfo.BaseAddress
1825 MemInfo.BaseAddress, (uintptr_t)MemInfo
[all...]
H A DSUPR3HardenedMain-win.cpp3673 MEMORY_BASIC_INFORMATION MemInfo = { 0, 0, 0, 0, 0, 0, 0 }; local
3677 &MemInfo,
3678 sizeof(MemInfo),
3683 if ( MemInfo.Type == SEC_IMAGE
3684 || MemInfo.Type == SEC_PROTECTED_IMAGE
3685 || MemInfo.Type == (SEC_IMAGE | SEC_PROTECTED_IMAGE))
3687 if (MemInfo.BaseAddress == MemInfo.AllocationBase)
3696 MemInfo.BaseAddress,
3706 pThis->uNtDllAddr = (uintptr_t)MemInfo
[all...]
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServicePageSharing.cpp168 MEMORY_BASIC_INFORMATION MemInfo; local
170 SIZE_T ret = VirtualQuery(pBaseAddress, &MemInfo, sizeof(MemInfo));
178 if ( MemInfo.State == MEM_COMMIT
179 && MemInfo.Type == MEM_IMAGE)
181 switch (MemInfo.Protect)
187 char *pRegion = (char *)MemInfo.BaseAddress;
193 while (pRegion < (char *)MemInfo.BaseAddress + MemInfo.RegionSize)
201 aRegions[idxRegion].GCRegionAddr = (RTGCPTR32)MemInfo
[all...]
/vbox/src/VBox/ValidationKit/utils/cpu/
H A Dcidet-app.cpp327 MEMORY_BASIC_INFORMATION MemInfo = {0}; local
328 if (VirtualQuery((PVOID)pXcptPtrs->ExceptionRecord->ExceptionInformation[1], &MemInfo, sizeof(MemInfo)) > 0)
329 switch (MemInfo.Protect & 0xff)

Completed in 68 milliseconds