Add qldoc.

This commit is contained in:
Anders Schack-Mulligen
2024-10-16 11:19:09 +02:00
parent 9ca8a27bae
commit c20f12fa6c
9 changed files with 40 additions and 0 deletions

View File

@@ -690,6 +690,10 @@ private module SpeculativeTaintFlow {
.hasName("java.util.function")
}
/**
* Holds if the additional step from `src` to `sink` should be considered in
* speculative taint flow exploration.
*/
predicate speculativeTaintStep(DataFlow::Node src, DataFlow::Node sink) {
exists(DataFlowCall call, Call srcCall, int argpos |
not hasTarget(srcCall) and