[NTOS:MM] On big pool enumeration, return entry instead of base VA

This commit is contained in:
Pierre Schweitzer 2019-02-02 10:45:15 +01:00
parent 42b5f5ec06
commit a6dc1d69bc
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -219,7 +219,7 @@ VOID
ExpKdbgExtPoolFindLargePool(
ULONG Tag,
ULONG Mask,
VOID (NTAPI* FoundCallback)(PVOID, PVOID),
VOID (NTAPI* FoundCallback)(PPOOL_TRACKER_BIG_PAGES, PVOID),
PVOID CallbackContext)
{
ULONG i;
@ -238,7 +238,7 @@ ExpKdbgExtPoolFindLargePool(
{
if (FoundCallback != NULL)
{
FoundCallback(PoolBigPageTable[i].Va, CallbackContext);
FoundCallback(&PoolBigPageTable[i], CallbackContext);
}
else
{