Irql_NetBuffer_Function规则 (ndis)
Irql_NetBuffer_Function 规则指定必须在正确的 IRQL 级别调用与 NET_BUFFER 相关的函数。
此规则验证以下 NDIS 函数:
NdisAdvanceNetBufferDataStartdisAdvanceNetBufferListDataStartNdisAllocateCloneNetBufferListNdisAllocateFragmentNetBufferListNdisAllocateMdlNdisAllocateNetBufferNdisAllocateNetBufferAndNetBufferListNdisAllocateNetBufferListNdisAllocateNetBufferListContextNdisAllocateNetBufferListPoolNdisAllocateNetBufferMdlAndDataNdisAllocateNetBufferPoolNdisAllocateReassembledNetBufferListNdisCopyFromNetBufferToNetBufferNdisCopyReceiveNetBufferListInfoNdisCopySendNetBufferListInfoNdisFreeCloneNetBufferListNdisFreeFragmentNetBufferListNdisFreeMdlNdisFreeNetBufferNdisFreeNetBufferListNdisFreeNetBufferListContextNdisFreeNetBufferListPoolNdisFreeNetBufferPoolNdisFreeReassembledNetBufferListNdisGetDataBufferNdisGetMdlPhysicalArraySizeNdisGetPoolFromNetBufferNdisGetPoolFromNetBufferListNdisQueryMdlNdisQueryMdlOffsetNdisQueryNetBufferPhysicalCountNdisRetreatNetBufferDataStartNdisRetreatNetBufferListDataStart
驱动程序模型:NDIS
如何测试
编译时 |
---|
运行 静态驱动程序验证程序 并指定 Irql_NetBuffer_Function 规则。 使用以下步骤运行代码分析:有关详细信息,请参阅 使用静态驱动程序验证程序查找驱动程序中的缺陷。 |
适用于
NdisAdvanceNetBufferDataStartNdisAdvanceNetBufferListDataStartNdisAllocateCloneNetBufferListNdisAllocateFragmentNetBufferListNdisAllocateMdlNdisAllocateNetBufferNdisAllocateNetBufferAndNetBufferListNdisAllocateNetBufferListNdisAllocateNetBufferListContextNdisAllocateNetBufferListPoolNdisAllocateNetBufferMdlAndDataNdisAllocateNetBufferPoolNdisAllocateReassembledNetBufferListNdisCopyFromNetBufferToNetBufferNdisCopyReceiveNetBufferListInfoNdisCopySendNetBufferListInfoNdisFreeCloneNetBufferListNdisFreeFragmentNetBufferListNdisFreeMdlNdisFreeNetBufferNdisFreeNetBufferListNdisFreeNetBufferListContextNdisFreeNetBufferListPoolNdisFreeNetBufferPoolNdisFreeReassembledNetBufferListNdisGetDataBufferNdisGetMdlPhysicalArraySizeNdisGetPoolFromNetBufferNdisGetPoolFromNetBufferListNdisQueryMdlNdisQueryMdlOffsetNdisQueryNetBufferPhysicalCountNdisRetreatNetBufferDataStartNdisRetreatNetBufferListDataStart