File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
swift/ql/lib/codeql/swift/dataflow Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 5
5
private import ExternalFlow
6
6
private import internal.DataFlowPublic
7
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. */
8
+ /**
9
+ * A data flow source of user input, whether local or remote.
10
+ */
11
+ abstract class FlowSource extends Node {
12
+ /** Gets a string that describes the type of this flow source. */
11
13
abstract string getSourceType ( ) ;
12
14
}
13
15
16
+ /**
17
+ * A data flow source of local user input, that is, user input from the same
18
+ * device as the code is running on.
19
+ */
20
+ abstract class LocalFlowSource extends FlowSource { }
21
+
22
+ /**
23
+ * A data flow source of remote user input. In this context, 'remote' means
24
+ * either across a network or from another application that is not trusted.
25
+ */
26
+ abstract class RemoteFlowSource extends FlowSource { }
27
+
14
28
/**
15
29
* A data flow source of remote user input that is defined through 'models as data'.
16
30
*/
You can’t perform that action at this time.
0 commit comments