mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
add isRelevant check on flowStep predicate
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user