We have a customer who uses a shared library that compiles for both KMDF and UMDF drivers. The library has IRQL annotations, so when running our IRQL queries on a UMDF driver that depends on this library, the queries fail as they cannot find the proper IRQL values from wdm.h. This leads to false positives in the IrqlAnnotationIssue query and could cause false positives in the other IRQL queries.
In general (perhaps to make a long-term enhancement) we should improve the ability of our queries to "exit fast" when they are run on a driver scenario they are not applicable for.
We have a customer who uses a shared library that compiles for both KMDF and UMDF drivers. The library has IRQL annotations, so when running our IRQL queries on a UMDF driver that depends on this library, the queries fail as they cannot find the proper IRQL values from wdm.h. This leads to false positives in the IrqlAnnotationIssue query and could cause false positives in the other IRQL queries.
In general (perhaps to make a long-term enhancement) we should improve the ability of our queries to "exit fast" when they are run on a driver scenario they are not applicable for.