Skip to content

Commit 258f85d

Browse files
authored
Add defaultImplicitTaintRead
1 parent dc4d353 commit 258f85d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

ql/src/codeql_ruby/dataflow/internal/TaintTrackingPrivate.qll

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ private import codeql_ruby.DataFlow
99
*/
1010
predicate defaultTaintSanitizer(DataFlow::Node node) { none() }
1111

12+
/**
13+
* Holds if default `TaintTracking::Configuration`s should allow implicit reads
14+
* of `c` at sinks and inputs to additional taint steps.
15+
*/
16+
bindingset[node]
17+
predicate defaultImplicitTaintRead(DataFlow::Node node, DataFlow::Content c) { none() }
18+
1219
/**
1320
* Holds if the additional step from `nodeFrom` to `nodeTo` should be included
1421
* in all global taint flow configurations.

0 commit comments

Comments
 (0)