We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09998a9 commit e60dc9aCopy full SHA for e60dc9a
swift/ql/lib/codeql/swift/frameworks/Heuristic.qll
@@ -86,7 +86,7 @@ private class AppendCallStep extends AdditionalTaintStep {
86
ce.getStaticTarget().(Function).getShortName() = ["append", "insert"] and
87
arg.getLabel() = ["", "contentsOf"] and
88
node1.asExpr() = arg.getExpr() and
89
- node2.asExpr() = ce.getQualifier()
+ node2.(DataFlow::PostUpdateNode).getPreUpdateNode().asExpr() = ce.getQualifier()
90
)
91
}
92
0 commit comments