add isRelevant check on flowStep predicate

This commit is contained in:
Erik Krogh Kristensen
2020-03-16 11:01:20 +01:00
parent 1d4dd2b2f7
commit 557b642a8e

View File

@@ -1106,6 +1106,7 @@ private predicate flowStep(
// Flow into higher-order call
flowIntoHigherOrderCall(pred, succ, cfg, summary)
) and
isRelevant(succ, cfg) and
not cfg.isBarrier(succ) and
not isBarrierEdge(cfg, pred, succ) and
not isLabeledBarrierEdge(cfg, pred, succ, summary.getEndLabel()) and