mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
remove the taint-steps meta query
This commit is contained in:
@@ -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."
|
||||
Reference in New Issue
Block a user