Regola RemoveLockForwardDeviceControl2 (wdm)
La regola RemoveLockForwardDeviceControl2 verifica che le chiamate a IoAcquireRemoveLock e IoReleaseRemoveLock vengano usate correttamente quando il driver usa IoCallDriver per inoltrare un IRP a un altro dispositivo.
Modello di driver: WDM
Come eseguire il test
In fase di compilazione |
---|
Eseguire Static Driver Verifier e specificare la regola RemoveLockForwardDeviceControl2 . Per eseguire un'analisi del codice, seguire questa procedura:
Per altre informazioni, vedere Using Static Driver Verifier to Find Defects in Drivers.For more information, see Using Static Driver Verifier to Find Defects in Drivers. |
Si applica a
ExInterlockedInsertHeadList ExInterlockedInsertTailListExInterlockedPushEntryListInsertHeadListIoAcquireRemoveLockIoCallDriverIoCsqInsertIrpIoCsqInsertIrpExIoReleaseRemoveLockPoCallDriverRemoveHeadList
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per