다음을 통해 공유


Irql_NetBuffer_Function 규칙(ndis)

Irql_NetBuffer_Function 규칙은 올바른 IRQL 수준에서 NET_BUFFER 관련 함수를 호출해야 한다고 지정합니다.

이 규칙은 다음 NDIS 함수를 확인합니다.

NdisAdvanceNetBufferDataStartdisAdvanceNetBufferListDataStartNdisAllocateCloneNetBufferListNdisAllocateFragmentNetBufferListNdisAllocateMdlNdisAllocateNetBufferNdisAllocateNetBufferAndNetBufferListNdisAllocateNetBufferListNdisAllocateNetBufferListContextNdisAllocateNetBufferListPoolNdisAllocateNetBufferMdlAndDataNdisAllocateNetBufferPoolNdisAllocateReassembledNetBufferListNdisCopyFromNetBufferToNetBufferNdisCopyReceiveNetBufferListInfoNdisCopySendNetBufferListInfoNdisFreeCloneNetBufferListNdisFreeFragmentNetBufferListNdisFreeMdlNdisFreeNetBufferNdisFreeNetBufferListNdisFreeNetBufferListContextNdisFreeNetBufferListPoolNdisFreeNetBufferPoolNdisFreeReassembledNetBufferListNdisGetDataBufferNdisGetMdlPhysicalArraySizeNdisGetPoolFromNetBufferNdisGetPoolFromNetBufferListNdisQueryMdlNdisQueryMdlOffsetNdisQueryNetBufferPhysicalCountNdisRetreatNetBufferDataStartNdisRetreatNetBufferListDataStart

드라이버 모델: NDIS

테스트 방법

컴파일 시

정적 드라이버 검증 도구 를 실행하고 Irql_NetBuffer_Function 규칙을 지정합니다.

다음 단계를 사용하여 코드 분석을 실행합니다.
  1. 코드를 준비합니다(역할 형식 선언 사용).
  2. 정적 드라이버 검증 도구 실행
  3. 결과를 보고 분석합니다.

자세한 내용은 정적 드라이버 검증 도구로 드라이버에서 결함 찾기를 참조하세요.

적용 대상

NdisAdvanceNetBufferDataStartNdisAdvanceNetBufferListDataStartNdisAllocateCloneNetBufferListNdisAllocateFragmentNetBufferListNdisAllocateMdlNdisAllocateNetBufferNdisAllocateNetBufferAndNetBufferListNdisAllocateNetBufferListNdisAllocateNetBufferListContextNdisAllocateNetBufferListPoolNdisAllocateNetBufferMdlAndDataNdisAllocateNetBufferPoolNdisAllocateReassembledNetBufferListNdisCopyFromNetBufferToNetBufferNdisCopyReceiveNetBufferListInfoNdisCopySendNetBufferListInfoNdisFreeCloneNetBufferListNdisFreeFragmentNetBufferListNdisFreeMdlNdisFreeNetBufferNdisFreeNetBufferListNdisFreeNetBufferListContextNdisFreeNetBufferListPoolNdisFreeNetBufferPoolNdisFreeReassembledNetBufferListNdisGetDataBufferNdisGetMdlPhysicalArraySizeNdisGetPoolFromNetBufferNdisGetPoolFromNetBufferListNdisQueryMdlNdisQueryMdlOffsetNdisQueryNetBufferPhysicalCountNdisRetreatNetBufferDataStartNdisRetreatNetBufferListDataStart