Skip to content

Commit 9f0f0ca

Browse files
committed
PS: Add placeholder for speculative flow now that this has been merged on the GitHub side.
1 parent aaa0182 commit 9f0f0ca

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

powershell/ql/lib/semmle/code/powershell/dataflow/flowsources/FlowSources.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** Provides classes representing various flow sources for taint tracking. */
2-
import semmle.code.powershell.dataflow.internal.DataFlowPublic as DataFlow
2+
private import semmle.code.powershell.dataflow.internal.DataFlowPublic as DataFlow
33
import semmle.code.powershell.dataflow.flowsources.Remote
44
import semmle.code.powershell.dataflow.flowsources.Local
55
import semmle.code.powershell.frameworks.data.internal.ApiGraphModels

powershell/ql/lib/semmle/code/powershell/dataflow/internal/TaintTrackingPrivate.qll

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,15 @@ private module Cached {
6565
}
6666

6767
import Cached
68+
import SpeculativeTaintFlow
69+
70+
private module SpeculativeTaintFlow {
71+
private import semmle.code.powershell.dataflow.internal.DataFlowDispatch as DataFlowDispatch
72+
private import semmle.code.powershell.dataflow.internal.DataFlowPublic as DataFlowPublic
73+
74+
/**
75+
* Holds if the additional step from `src` to `sink` should be considered in
76+
* speculative taint flow exploration.
77+
*/
78+
predicate speculativeTaintStep(DataFlow::Node src, DataFlow::Node sink) { none() }
79+
}

0 commit comments

Comments
 (0)