@@ -726,21 +726,6 @@ private predicate basicFlowStepNoBarrier(
726726 summary = PathSummary:: return ( )
727727}
728728
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-
744729/**
745730 * Holds if there is a flow step from `pred` to `succ` under configuration `cfg`,
746731 * including both basic flow steps and steps into/out of properties.
@@ -1339,7 +1324,8 @@ private predicate flowStep(
13391324 DataFlow:: Node pred , DataFlow:: Configuration cfg , DataFlow:: Node succ , PathSummary summary
13401325) {
13411326 (
1342- basicFlowStep ( pred , succ , summary , cfg )
1327+ basicFlowStepNoBarrier ( pred , succ , summary , cfg ) and
1328+ isRelevant ( pred , cfg )
13431329 or
13441330 // Flow through a function that returns a value that depends on one of its arguments
13451331 // or a captured variable
0 commit comments