VerifierMmMapLockedPages
VOID *__fastcall VerifierMmMapLockedPages(_MDL *MemoryDescriptorList, CHAR AccessMode){
__int64 v4;
VOID *v5;
UINT64 v7;
PVOID retaddr;
if( (MmVerifierData & 1) != 0 )
ViMmMapLockedPagesSanityChecks(MemoryDescriptorList, AccessMode);
if( (MemoryDescriptorList->MdlFlags & 0x2000) == 0
&& (unsigned int)VfFaultsIsSystemSufficientlyBooted()
&& (MmVerifierData & 1) != 0 )
{
VerifierBugCheckIfAppropriate(
0xC4ui64,
0x81ui64,
(UINT64)MemoryDescriptorList,
MemoryDescriptorList->MdlFlags,
0i64,
v7);
}
LOBYTE(v4) = AccessMode;
v5 = (VOID *)((__int64(__fastcall *)(_MDL *, __int64, __int64))pXdvMmMapLockedPagesSpecifyCache)(
MemoryDescriptorList,
v4,
1i64);
VfAllocPoolNotification(v5, MemoryDescriptorList->ByteCount);
if( v5 && (MmVerifierData & 0x1000) != 0 )
ViTargetAddToCounter(retaddr, 0xC0ui64, 0xC8ui64, MemoryDescriptorList->ByteCount);
return v5;
}Referenced by:
No references.