mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Swift: Remove special case (no longer required).
This commit is contained in:
@@ -96,14 +96,6 @@ class CleartextStorageConfig extends TaintTracking::Configuration {
|
||||
// any default implicit reads
|
||||
super.allowImplicitRead(node, c)
|
||||
}
|
||||
|
||||
override predicate isAdditionalTaintStep(DataFlow::Node node1, DataFlow::Node node2) {
|
||||
// flow through assignment (!) TODO: we really shouldn't need this as a special case
|
||||
exists(AssignExpr ae |
|
||||
node1.asExpr() = ae.getSource() and
|
||||
node2.asExpr() = ae.getDest()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
from CleartextStorageConfig config, DataFlow::PathNode sourceNode, DataFlow::PathNode sinkNode
|
||||
|
||||
Reference in New Issue
Block a user