DoubleExFreePool rule (storport)
This rule verifies that the driver does not attempt to free the same block of pool memory twice.
The rule keeps track of the memory pointer that is first passed to ExFreePool. If the same pointer is passed again, the driver fails the rule. If the driver calls RemoveHeadList or RemoveEntryList, the rule passes.
Driver model: Storport
How to test
At compile time |
---|
Run Static Driver Verifier and specify the DoubleExFreePool rule. Use the following steps to run an analysis of your code:
For more information, see Using Static Driver Verifier to Find Defects in Drivers. |
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla