mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
revert the Taint stage, as it caused an alert for ql/abstract-class-import
This commit is contained in:
@@ -176,32 +176,4 @@ module Stages {
|
||||
PointsTo::AttributePointsTo::variableAttributePointsTo(_, _, _, _, _)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The `taint` stage.
|
||||
*/
|
||||
cached
|
||||
module Taint {
|
||||
/**
|
||||
* Always holds.
|
||||
* Ensures that a predicate is evaluated as part of the DataFlow stage.
|
||||
*/
|
||||
cached
|
||||
predicate ref() { 1 = 1 }
|
||||
|
||||
private import semmle.python.dataflow.new.internal.TaintTrackingPrivate as TaintTrackingPrivate
|
||||
|
||||
/**
|
||||
* DONT USE!
|
||||
* Contains references to each predicate that use the above `ref` predicate.
|
||||
*/
|
||||
cached
|
||||
predicate backref() {
|
||||
1 = 1
|
||||
or
|
||||
TaintTrackingPrivate::localAdditionalTaintStep(_, _)
|
||||
or
|
||||
TaintTrackingPrivate::defaultAdditionalTaintStep(_, _)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user