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 55private import ExternalFlow
66private import internal.DataFlowPublic
77
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. */
1113 abstract string getSourceType ( ) ;
1214}
1315
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+
1428/**
1529 * A data flow source of remote user input that is defined through 'models as data'.
1630 */
You can’t perform that action at this time.
0 commit comments