[AVRF] Hook up debug functions, add noisy stub for AVrfpGetStackTraceAddress

This commit is contained in:
Mark Jansen 2020-04-11 14:21:24 +02:00
parent a7a504a466
commit 5821136dfa
5 changed files with 88 additions and 12 deletions

View file

@ -202,6 +202,10 @@ RtlpDphReportCorruptedBlock(
BOOLEAN NTAPI
RtlpDphNormalHeapValidate(PDPH_HEAP_ROOT DphRoot, ULONG Flags, PVOID BaseAddress);
/* verifier.c */
VOID NTAPI
AVrfInternalHeapFreeNotification(PVOID AllocationBase, SIZE_T AllocationSize);
VOID NTAPI
RtlpDphRaiseException(NTSTATUS Status)
@ -1712,8 +1716,7 @@ RtlpPageHeapDestroy(HANDLE HeapPtr)
}
}
/* FIXME: Call AV notification */
//AVrfInternalHeapFreeNotification();
AVrfInternalHeapFreeNotification(Node->pUserAllocation, Node->nUserRequestedSize);
/* Go to the next node */
Ptr = RtlEnumerateGenericTableAvl(&DphRoot->BusyNodesTable, FALSE);