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
43
43
* A taint-tracking configuration for unvalidated user input that is used to construct LDAP queries.
44
44
*/
45
45
module LdapInjectionConfig implements DataFlow:: ConfigSig {
46
+ /**
47
+ * Holds if `source` is a relevant data flow source.
48
+ */
46
49
predicate isSource ( DataFlow:: Node source ) { source instanceof Source }
47
50
51
+ /**
52
+ * Holds if `sink` is a relevant data flow sink.
53
+ */
48
54
predicate isSink ( DataFlow:: Node sink ) { sink instanceof Sink }
49
55
56
+ /**
57
+ * Holds if data flow through `node` is prohibited. This completely removes
58
+ * `node` from the data flow graph.
59
+ */
50
60
predicate isBarrier ( DataFlow:: Node node ) { node instanceof Sanitizer }
51
61
}
52
62
You can’t perform that action at this time.
0 commit comments