Skip to content

Commit 596fe7d

Browse files
committed
Expose new consistency check from VariableCapture.qll
1 parent ec26eaa commit 596fe7d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎shared/dataflow/codeql/dataflow/VariableCapture.qll‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,8 @@ module Flow<
389389
msg = "Callable has multiple locations" and 2 <= strictcount(c.getLocation())
390390
}
391391

392+
import SsaFlow::DfConsistency
393+
392394
query predicate consistencyOverview(string msg, int n) {
393395
uniqueToString(msg, n) or
394396
n = strictcount(BasicBlock bb | uniqueEnclosingCallable(bb, msg)) or

0 commit comments

Comments
 (0)