File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
csharp/ql/lib/semmle/code/csharp/security/dataflow Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,20 @@ deprecated class TaintTrackingConfiguration extends TaintTracking::Configuration
4343 * A taint-tracking configuration for unvalidated user input that is used to construct LDAP queries.
4444 */
4545module LdapInjectionConfig implements DataFlow:: ConfigSig {
46+ /**
47+ * Holds if `source` is a relevant data flow source.
48+ */
4649 predicate isSource ( DataFlow:: Node source ) { source instanceof Source }
4750
51+ /**
52+ * Holds if `sink` is a relevant data flow sink.
53+ */
4854 predicate isSink ( DataFlow:: Node sink ) { sink instanceof Sink }
4955
56+ /**
57+ * Holds if data flow through `node` is prohibited. This completely removes
58+ * `node` from the data flow graph.
59+ */
5060 predicate isBarrier ( DataFlow:: Node node ) { node instanceof Sanitizer }
5161}
5262
You can’t perform that action at this time.
0 commit comments