Skip to content

Commit 00b8a29

Browse files
committed
Rust: Add predicate for speculative taint step
1 parent b96698a commit 00b8a29

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rust/ql/lib/codeql/rust/dataflow/internal/TaintTrackingImpl.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,10 @@ module RustTaintTracking implements InputSig<Location, RustDataFlow> {
1717
*/
1818
bindingset[node]
1919
predicate defaultImplicitTaintRead(Node::Node node, ContentSet c) { none() }
20+
21+
/**
22+
* Holds if the additional step from `src` to `sink` should be considered in
23+
* speculative taint flow exploration.
24+
*/
25+
predicate speculativeTaintStep(Node::Node src, Node::Node sink) { none() }
2026
}

0 commit comments

Comments
 (0)