Regla IrqlDispatch (storport)

Esta regla comprueba que solo se llama a las rutinas siguientes en IRQL = DISPATCH_LEVEL.

  • AllocateAdapterChannel

  • FreeAdapterChannel

  • FreeMapRegisters

  • GetScatterGatherList

  • IoAllocateController

  • IoFreeController

  • IoStartNextPacket

  • KeAcquireSpinLockAtDpcLevel

  • KeInsertByKeyDeviceQueue

  • KeInsertDeviceQueue

  • KeReleaseSpinLockFromDpcLevel

  • KeRemoveByKeyDeviceQueue

  • KeRemoveDeviceQueue

  • PutScatterGatherList

Modelo de controlador: Storport

Cómo probar

En tiempo de compilación

Ejecute el Comprobador de controladores estáticos y especifique la regla IrqlDispatch .

Usa los pasos siguientes para ejecutar un análisis de tu código:
  1. Prepara el código (usa declaraciones de tipos de rol).
  2. Ejecuta el comprobador de controlador estático.
  3. Consulta y analiza los resultados.

Para obtener más información, vea Usar comprobador de controladores estáticos para buscar defectos en controladores.

Se aplica a

AllocateAdapterChannelFreeAdapterChannelFreeMapRegistersGetScatterGatherListIoAllocateControllerIoFreeControllerIoStartNextPacketKeAcquireSpinLockAtDpcLevelKeInsertByKeyDeviceQueueKeInsertDeviceQueue KeInsertDeviceQueueKeReleaseSpinLockFromDpcLevelKeRemoveByKeyDeviceQueveDevicePutScatterGatherList