Skip to content

Commit ba1f876

Browse files
committed
Shared: update PartialPathNode accordingly
1 parent 6792592 commit ba1f876

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

shared/dataflow/codeql/dataflow/internal/DataFlowImpl.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4436,6 +4436,7 @@ module MakeImpl<InputSig Lang> {
44364436
) and
44374437
not fullBarrier(node) and
44384438
not stateBarrier(node, state) and
4439+
not outBarrier(node, state) and
44394440
distSink(node.getEnclosingCallable()) <= explorationLimit()
44404441
}
44414442

@@ -4456,6 +4457,7 @@ module MakeImpl<InputSig Lang> {
44564457
partialPathStep0(mid, node, state, cc, sc1, sc2, sc3, sc4, t0, ap) and
44574458
not fullBarrier(node) and
44584459
not stateBarrier(node, state) and
4460+
not inBarrier(node, state) and
44594461
not clearsContentEx(node, ap.getHead()) and
44604462
(
44614463
notExpectsContent(node) or
@@ -4595,6 +4597,7 @@ module MakeImpl<InputSig Lang> {
45954597
PartialAccessPath getAp() { result = ap }
45964598

45974599
override PartialPathNodeFwd getASuccessor() {
4600+
not outBarrier(node, state) and
45984601
partialPathStep(this, result.getNodeEx(), result.getState(), result.getCallContext(),
45994602
result.getSummaryCtx1(), result.getSummaryCtx2(), result.getSummaryCtx3(),
46004603
result.getSummaryCtx4(), result.getType(), result.getAp())
@@ -4634,6 +4637,7 @@ module MakeImpl<InputSig Lang> {
46344637
PartialAccessPath getAp() { result = ap }
46354638

46364639
override PartialPathNodeRev getASuccessor() {
4640+
not inBarrier(node, state) and
46374641
revPartialPathStep(result, this.getNodeEx(), this.getState(), this.getSummaryCtx1(),
46384642
this.getSummaryCtx2(), this.getSummaryCtx3(), this.getAp())
46394643
}

0 commit comments

Comments
 (0)