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

@@ -185,6 +185,10 @@ private module SpeculativeTaintFlow {
exists(FlowSummaryImpl::Public::NeutralSinkCallable sc | sc.getACall() = call)
}
/**
* 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, ArgumentPosition argpos |
not exists(viableCallable(call)) and