Condividi tramite


regola Irql_NetBuffer_Function (ndis)

La regola Irql_NetBuffer_Function specifica che le funzioni correlate NET_BUFFER devono essere chiamate a livelli IRQL corretti.

Questa regola verifica le funzioni NDIS seguenti:

NdisAdvanceNetBufferDataStartdisAdvanceNetBufferListStartNdisAllocateCloneNetBufferListNdisAllocateFragmentNetBufferListNdisAllocateMdlNdisAllocateNetBufferNdisAllocateNetBufferAllocateNetBufferAndNetBufferListNdisAllocateNetBufferListNdisAllocateNetBufferListContextNdisAllocateNetBufferListPoolNdisAllocateNetBufferMdlAndDataNdisAllocateNetBufferPoolNdisAllocateReassembledNetBufferListNdisCopyFromNetBufferToNetBufferNdisCopyReceiveNetBufferListInfoNdisCopySendNetBufferListInfoNdisFreeCloneNetBufferList NdisFreeCloneNetBufferListNdisFreeFragmentNetBufferListNdisFreeMdlNdisFreeNetBuffer NdisFreeNetBufferList NdisFreeNetBufferListContext NdisFreeNetBufferListPool NdisFreeNetBufferPoolNdisFreeReassembledNetBufferList NdisGetDataBufferNdisGetMdlPhysicalArraySizeNdisGetPoolFromNetBuffer NdisGetPoolFromNetBufferListNdisQueryMdlNdisQueryMdlOffsetNdisQueryNetBufferPhysicalCountNdisRetreatNetBufferDataStartNdisRetreatNetBufferListDataStart

Modello di driver: NDIS

Come eseguire il test

In fase di compilazione

Eseguire il verifica driver statico e specificare la regola di Irql_NetBuffer_Function .

Usa i passaggi descritti di seguito per eseguire un'analisi del codice:
  1. Prepara il codice (usa dichiarazioni di tipo ruolo).
  2. Esegui Driver Verifier statico.
  3. Visualizza e analizza i risultati.

Per altre informazioni, vedere Uso del verificatore driver statico per trovare i difetti nei driver.

Si applica a

NdisAdvanceNetBufferDataStartNdisAdvanceNetBufferListStartNdisAllocateCloneNetBufferListNdisAllocateFragmentNetBufferListNdisAllocateMdlNdisAllocateNetNdisAllocateNetBufferAndNetBufferList NdisAllocateNetBufferList NdisAllocateNetBufferListContext NdisAllocateNetBufferListPool NdisAllocateNetBufferMdlAndDataNdisAllocateNetBufferPoolNdisAllocateReassembledNetBufferListNdisCopyFromNetBufferToNetBufferNdisCopyReceiveNetBufferListInfoNdisCopySendNetBufferListInfoNdisFreeCloneNetBufferListNdisFreeFragmentNetBufferListNdisFreeMdl NdisFreeNetBuffer NdisFreeNetBufferList NdisFreeNetBufferListContext NdisFreeNetBufferListPool NdisFreeNetBufferPoolNdisFreeReassembledNetBufferListNdisGetDataBufferNdisGetMdlPhysicalArraySize NdisGetPoolFromNetBufferList NdisQueryMdl NdisQueryMdlOffsetNdisQueryNetBufferPhysicalCountNdisRetreatNetBufferDataStartNdisRetreatNetBufferListDataStart