Rust: Add predicate for speculative taint step

This commit is contained in:
Simon Friis Vindum
2024-10-31 09:09:39 +01:00
parent b96698aee3
commit 00b8a29da7

View File

@@ -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() }
}