@@ -726,21 +726,6 @@ private predicate basicFlowStepNoBarrier(
726
726
summary = PathSummary:: return ( )
727
727
}
728
728
729
- /**
730
- * Holds if there is a flow step from `pred` to `succ` described by `summary`
731
- * under configuration `cfg`.
732
- *
733
- * Summary steps through function calls are not taken into account.
734
- */
735
- private predicate basicFlowStep (
736
- DataFlow:: Node pred , DataFlow:: Node succ , PathSummary summary , DataFlow:: Configuration cfg
737
- ) {
738
- basicFlowStepNoBarrier ( pred , succ , summary , cfg ) and
739
- isRelevant ( pred , cfg ) and
740
- not isLabeledBarrierEdge ( cfg , pred , succ , summary .getStartLabel ( ) ) and
741
- not isBarrierEdge ( cfg , pred , succ )
742
- }
743
-
744
729
/**
745
730
* Holds if there is a flow step from `pred` to `succ` under configuration `cfg`,
746
731
* including both basic flow steps and steps into/out of properties.
@@ -1339,7 +1324,8 @@ private predicate flowStep(
1339
1324
DataFlow:: Node pred , DataFlow:: Configuration cfg , DataFlow:: Node succ , PathSummary summary
1340
1325
) {
1341
1326
(
1342
- basicFlowStep ( pred , succ , summary , cfg )
1327
+ basicFlowStepNoBarrier ( pred , succ , summary , cfg ) and
1328
+ isRelevant ( pred , cfg )
1343
1329
or
1344
1330
// Flow through a function that returns a value that depends on one of its arguments
1345
1331
// or a captured variable
0 commit comments