Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/drivers/general/queries/IrqlTooLow/IrqlTooLow.ql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* ca_ported
* wddst
* @scope domainspecific
* @query-version v2
* @query-version v3
*/

import cpp
Expand All @@ -34,7 +34,7 @@ where
irqlFunc.(IrqlRequiresAnnotatedFunction).getIrqlLevel() = irqlRequirement
) and
irqlRequirement != -1 and
irqlRequirement > getPotentialExitIrqlAtCfn(prior)
irqlRequirement > max(getPotentialExitIrqlAtCfn(prior))
select call,
"$@: IRQL potentially too low at call to $@. Minimum IRQL for this call: " + irqlRequirement +
", IRQL at preceding node: " + max(getPotentialExitIrqlAtCfn(prior)), call.getControlFlowScope(),
Expand Down
Loading