File tree Expand file tree Collapse file tree
powershell/ql/lib/semmle/code/powershell/dataflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
33import semmle.code.powershell.dataflow.flowsources.Remote
44import semmle.code.powershell.dataflow.flowsources.Local
55import semmle.code.powershell.frameworks.data.internal.ApiGraphModels
Original file line number Diff line number Diff line change @@ -65,3 +65,15 @@ private module Cached {
6565}
6666
6767import 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+ }
You can’t perform that action at this time.
0 commit comments