Skip to content

Commit 5156420

Browse files
committed
Documentation for FlowSources library
1 parent 83e6613 commit 5156420

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/FlowSources.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** Provides classes representing various flow sources for taint tracking. */
2+
13
private import semmle.code.csharp.dataflow.internal.ExternalFlow
24
private import codeql.threatmodels.ThreatModels
35
import semmle.code.csharp.security.dataflow.flowsources.Remote

csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/Stored.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ abstract class StoredFlowSource extends SourceNode {
1616
override string getThreatModel() { result = "local" }
1717
}
1818

19+
/**
20+
* A node with input from a database.
21+
*/
1922
abstract class DatabaseInputSource extends StoredFlowSource {
2023
override string getThreatModel() { result = "database" }
2124
}

0 commit comments

Comments
 (0)