Lines Matching defs:pMemInfo

1307  * @param   pMemInfo            The memory information for the image.
1309 static int supHardNtVpNewImage(PSUPHNTVPSTATE pThis, PSUPHNTVPIMAGE pImage, PMEMORY_BASIC_INFORMATION pMemInfo)
1348 "Empty filename (len=%u) for image at %p.", pLongName->Length, pMemInfo->BaseAddress);
1412 if ( pMemInfo->AllocationBase == pMemInfo->BaseAddress
1416 pMemInfo->AllocationBase, pMemInfo->BaseAddress, pMemInfo->RegionSize, pwszFilename));
1417 NTSTATUS rcNt = NtUnmapViewOfSection(pThis->hProcess, pMemInfo->AllocationBase);
1421 SUP_DPRINTF(("supHardNtVpScanVirtualMemory: NtUnmapViewOfSection(,%p) failed: %#x\n", pMemInfo->AllocationBase, rcNt));
1427 if ( pMemInfo->AllocationBase == pMemInfo->BaseAddress
1438 , pLongName->Buffer, pMemInfo->BaseAddress);
1442 "Unknown image file %ls at %p.", pLongName->Buffer, pMemInfo->BaseAddress);
1458 if (pMemInfo->AllocationBase != pMemInfo->BaseAddress)
1461 pImage->pszName, pMemInfo->AllocationBase, pMemInfo->BaseAddress);
1466 if (pMemInfo->RegionSize >= _2G)
1468 "Region 0 of image %s is too large: %p.", pImage->pszName, pMemInfo->RegionSize);
1473 pImage->uImageBase = (uintptr_t)pMemInfo->AllocationBase;
1474 pImage->cbImage = pMemInfo->RegionSize;
1478 pImage->aRegions[0].cb = (uint32_t)pMemInfo->RegionSize;
1479 pImage->aRegions[0].fProt = pMemInfo->Protect;
1500 * @param pMemInfo The memory information for the region.
1502 static int supHardNtVpAddRegion(PSUPHNTVPSTATE pThis, PSUPHNTVPIMAGE pImage, PMEMORY_BASIC_INFORMATION pMemInfo)
1507 if (pImage->uImageBase != (uintptr_t)pMemInfo->AllocationBase)
1510 pImage->pszName, pImage->uImageBase, pMemInfo->AllocationBase,
1511 pMemInfo->BaseAddress, pMemInfo->RegionSize);
1516 uintptr_t uRva = (uintptr_t)pMemInfo->BaseAddress - pImage->uImageBase;
1517 if (pMemInfo->RegionSize >= _2G)
1519 "Region %u of image %s is too large: %p/%p.", pImage->pszName, pMemInfo->RegionSize, uRva);
1522 "Region %u of image %s is too high: %p/%p.", pImage->pszName, pMemInfo->RegionSize, uRva);
1533 pImage->aRegions[iRegion].cb = (uint32_t)pMemInfo->RegionSize;
1534 pImage->aRegions[iRegion].fProt = pMemInfo->Protect;
1552 * @param pMemInfo The information we've got on this private
1556 MEMORY_BASIC_INFORMATION const *pMemInfo)
1563 PVOID pvFree = pMemInfo->AllocationBase;
1564 SIZE_T cbFree = pMemInfo->RegionSize + ((uintptr_t)pMemInfo->BaseAddress - (uintptr_t)pMemInfo->AllocationBase);
1578 if (pMemInfo->AllocationBase != MemInfo2.AllocationBase)
1583 pvFree, cbFree, pMemInfo->BaseAddress, pMemInfo->RegionSize));
1641 pvFreeInOut = pMemInfo->BaseAddress;
1642 cbFreeInOut = pMemInfo->RegionSize;
1646 pvFree = pMemInfo->BaseAddress;
1647 cbFree = pMemInfo->RegionSize;
1655 pvFree, cbFree, pMemInfo->BaseAddress, pMemInfo->RegionSize, rcNt);
1707 pMemInfo->BaseAddress, pMemInfo->RegionSize, pvFree, cbFree, rcNt);
1749 pMemInfo->BaseAddress, pMemInfo->RegionSize, rcNt);