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 050b8e6 commit 3253c04Copy full SHA for 3253c04
swift/ql/test/TestUtilities/InlineFlowTest.qll
@@ -42,11 +42,11 @@ import codeql.swift.dataflow.TaintTracking
42
import TestUtilities.InlineExpectationsTest
43
44
private predicate defaultSource(DataFlow::Node source) {
45
- source.asExpr().(MethodCallExpr).getStaticTarget().getName() = ["source", "taint"]
+ source.asExpr().(MethodCallExpr).getStaticTarget().getShortName() = ["source", "taint"]
46
}
47
48
private predicate defaultSink(DataFlow::Node sink) {
49
- exists(MethodCallExpr ma | ma.getStaticTarget().hasName("sink") |
+ exists(MethodCallExpr ma | ma.getStaticTarget().getShortName() = "sink" |
50
sink.asExpr() = ma.getAnArgument().getExpr()
51
)
52
0 commit comments