remove the taint-steps meta query

This commit is contained in:
erik-krogh
2022-10-07 13:21:24 +02:00
parent c1fae91a1f
commit 5d9c68c962

View File

@@ -1,23 +0,0 @@
/**
* @name Taint steps
* @description All taint steps.
* @kind problem
* @problem.severity recommendation
* @id rb/meta/taint-steps
* @tags meta
* @precision very-low
*/
import ruby
import internal.TaintMetrics
import codeql.ruby.dataflow.internal.TaintTrackingPublic
predicate relevantStep(DataFlow::Node pred, DataFlow::Node succ) { localTaintStep(pred, succ) }
from File file, int numSteps
where
numSteps =
strictcount(DataFlow::Node pred, DataFlow::Node succ |
relevantStep(pred, succ) and pred.getLocation().getFile() = file
)
select file, "File has " + numSteps + " taint steps."