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 24c8f1d commit 25b4296Copy full SHA for 25b4296
swift/ql/src/queries/Summary/FlowSources.ql
@@ -12,11 +12,11 @@
12
import swift
13
import codeql.swift.dataflow.FlowSources
14
15
-string sourceType(FlowSource s) {
+string sourceClass(FlowSource s) {
16
s instanceof LocalFlowSource and result = "LocalFlowSource"
17
or
18
s instanceof RemoteFlowSource and result = "RemoteFlowSource"
19
}
20
21
from FlowSource s
22
-select s, sourceType(s) + ": " + s.getSourceType()
+select s, sourceClass(s) + ": " + s.getSourceType()
0 commit comments