@@ -157,14 +157,14 @@ abstract class Configuration extends string {
157157 *
158158 * Holds if flow from `src` to `trg` is prohibited.
159159 */
160- predicate isBarrier ( DataFlow:: Node src , DataFlow:: Node trg ) { none ( ) }
160+ deprecated predicate isBarrier ( DataFlow:: Node src , DataFlow:: Node trg ) { none ( ) }
161161
162162 /**
163163 * DEPRECATED: Use `isBarrierEdge` instead.
164164 *
165165 * Holds if flow with label `lbl` cannot flow from `src` to `trg`.
166166 */
167- predicate isBarrier ( DataFlow:: Node src , DataFlow:: Node trg , FlowLabel lbl ) { none ( ) }
167+ deprecated predicate isBarrier ( DataFlow:: Node src , DataFlow:: Node trg , FlowLabel lbl ) { none ( ) }
168168
169169 /**
170170 * Holds if flow from `pred` to `succ` is prohibited.
@@ -486,7 +486,6 @@ private predicate basicFlowStep(
486486 // Local flow
487487 exists ( FlowLabel predlbl , FlowLabel succlbl |
488488 localFlowStep ( pred , succ , cfg , predlbl , succlbl ) and
489- not cfg .isBarrier ( pred , succ , predlbl ) and
490489 not cfg .isBarrierEdge ( pred , succ , predlbl ) and
491490 summary = MkPathSummary ( false , false , predlbl , succlbl )
492491 )
@@ -601,7 +600,6 @@ private predicate callInputStep(
601600 )
602601 ) and
603602 not cfg .isBarrier ( succ ) and
604- not cfg .isBarrier ( pred , succ ) and
605603 not cfg .isBarrierEdge ( pred , succ )
606604}
607605
@@ -656,7 +654,6 @@ private predicate flowThroughCall(
656654 ret .asExpr ( ) = f .getAReturnedExpr ( ) and
657655 calls ( output , f ) and // Do not consider partial calls
658656 reachableFromInput ( f , output , input , ret , cfg , summary ) and
659- not cfg .isBarrier ( ret , output ) and
660657 not cfg .isBarrierEdge ( ret , output ) and
661658 not cfg .isLabeledBarrier ( output , summary .getEndLabel ( ) )
662659 )
@@ -666,7 +663,6 @@ private predicate flowThroughCall(
666663 DataFlow:: exceptionalInvocationReturnNode ( output , invk .asExpr ( ) ) and
667664 calls ( invk , f ) and
668665 reachableFromInput ( f , invk , input , ret , cfg , summary ) and
669- not cfg .isBarrier ( ret , output ) and
670666 not cfg .isBarrierEdge ( ret , output ) and
671667 not cfg .isLabeledBarrier ( output , summary .getEndLabel ( ) )
672668 )
@@ -906,7 +902,6 @@ private predicate flowStep(
906902 flowIntoHigherOrderCall ( pred , succ , cfg , summary )
907903 ) and
908904 not cfg .isBarrier ( succ ) and
909- not cfg .isBarrier ( pred , succ ) and
910905 not cfg .isBarrierEdge ( pred , succ ) and
911906 not cfg .isLabeledBarrier ( succ , summary .getEndLabel ( ) )
912907}
0 commit comments