JavaScript: Introduce two more short-circuiting conjuncts.

This commit is contained in:
Max Schaefer
2018-10-17 15:21:33 +01:00
parent 9221b62ded
commit d6198fcc2a

View File

@@ -744,6 +744,7 @@ private predicate onPath(DataFlow::Node nd, DataFlow::Configuration cfg,
*/
private newtype TPathNode =
MkPathNode(DataFlow::Node nd, DataFlow::Configuration cfg, PathSummary summary) {
isSource(_, cfg, _) and isSink(_, cfg, _) and
onPath(nd, cfg, summary)
}