Skip to content

Commit

Permalink
Merge pull request #17879 from paldepind/rust-speculative-taint
Browse files Browse the repository at this point in the history
Rust: Add predicate for speculative taint step
  • Loading branch information
hvitved authored Oct 31, 2024
2 parents b96698a + 00b8a29 commit 977eb05
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,10 @@ module RustTaintTracking implements InputSig<Location, RustDataFlow> {
*/
bindingset[node]
predicate defaultImplicitTaintRead(Node::Node node, ContentSet c) { none() }

/**
* Holds if the additional step from `src` to `sink` should be considered in
* speculative taint flow exploration.
*/
predicate speculativeTaintStep(Node::Node src, Node::Node sink) { none() }
}

0 comments on commit 977eb05

Please sign in to comment.