Skip to content

Commit 1bd93b9

Browse files
committed
PS: Add missing dataflow predicates related to models.
1 parent 3829528 commit 1bd93b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@ private module Cached {
280280
)
281281
) and
282282
model = ""
283+
or
284+
LocalFlow::flowSummaryLocalStep(nodeFrom, nodeTo, _, model)
283285
}
284286

285287
/** This is the local flow predicate that is exposed. */
@@ -302,6 +304,9 @@ private module Cached {
302304
LocalFlow::localFlowStepCommon(nodeFrom, nodeTo)
303305
or
304306
SsaFlow::localFlowStep(_, nodeFrom, nodeTo, _)
307+
or
308+
LocalFlow::flowSummaryLocalStep(nodeFrom, nodeTo, any(LibraryCallableToIncludeInTypeTracking c),
309+
_)
305310
}
306311

307312
/** Holds if `n` wraps an SSA definition without ingoing flow. */

0 commit comments

Comments
 (0)