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 f9c8926 commit 415e974Copy full SHA for 415e974
swift/ql/lib/codeql/swift/dataflow/FlowSources.qll
@@ -0,0 +1,18 @@
1
+/**
2
+ * Provides classes representing various flow sources for taint tracking.
3
+ */
4
+
5
+private import ExternalFlow
6
+private import internal.DataFlowPublic
7
8
+/** A data flow source of remote user input. */
9
+abstract class RemoteFlowSource extends Node {
10
+ /** Gets a string that describes the type of this remote flow source. */
11
+ abstract string getSourceType();
12
+}
13
14
+private class ExternalRemoteFlowSource extends RemoteFlowSource {
15
+ ExternalRemoteFlowSource() { sourceNode(this, "remote") }
16
17
+ override string getSourceType() { result = "external" }
18
0 commit comments