We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 053bf9a commit f7860a3Copy full SHA for f7860a3
1 file changed
swift/ql/src/queries/Summary/SummaryStats.ql
@@ -11,6 +11,7 @@ import codeql.swift.dataflow.FlowSources
11
import codeql.swift.security.SensitiveExprs
12
import codeql.swift.dataflow.DataFlow
13
import codeql.swift.dataflow.TaintTracking
14
+import codeql.swift.regex.Regex
15
16
/**
17
* A taint configuration for tainted data reaching any node.
@@ -50,6 +51,8 @@ predicate statistic(string what, string value) {
50
51
what = "Dataflow nodes (tainted)" and value = taintedNodesCount().toString()
52
or
53
what = "Taint reach (per million nodes)" and value = taintReach().toString()
54
+ or
55
+ what = "Regular expression evals" and value = count(RegexEval e).toString()
56
}
57
58
from string what, string value
0 commit comments