VerifierPortIoAllocateIrp

_IRP *__stdcall VerifierPortIoAllocateIrp(INT8 StackSize, UINT8 ChargeQuota, VOID *CallerAddress){
  __int64 v6; 
  __int64 v7; 
  UINT64 v9; 

  if( ChargeQuota && (MmVerifierData & 8) != 0 )
  {
    if( KeGetCurrentThread()->ApcState.Process == *(_EPROCESS **)&PsIdleProcess )
      VerifierBugCheckIfAppropriate(0xC4ui64, 0x10Au, 0, 0, 0, v9);
    if( (KeGetPcr()->Prcb.DpcRequestSummary & 1) != 0 )
      VerifierBugCheckIfAppropriate(0xC4ui64, 0x10Bu, 0, 0, 0, v9);
  }
  if( VfFaultsInjectResourceFailure(0i64) )
    return 0i64;
  LOBYTE(v7) = ChargeQuota;
  LOBYTE(v6) = StackSize;
  return(_IRP *)pXdvIoAllocateIrp(0, v6, v7, (int)CallerAddress, (__int64)IovAllocateIrp);
}

Referenced by:

No references.