mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
JavaScript: Introduce two more short-circuiting conjuncts.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user