Skip to content

Commit 977eb05

Browse files
authored
Merge pull request github#17879 from paldepind/rust-speculative-taint
Rust: Add predicate for speculative taint step
2 parents b96698a + 00b8a29 commit 977eb05

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)