mirror of
https://github.com/github/codeql.git
synced 2026-04-17 21:14:02 +02:00
Tests are currently still internal. They will be migrated to `github/codeql` in a subsequent PR.
12 lines
358 B
Plaintext
12 lines
358 B
Plaintext
private import javascript
|
|
private import extraction.Exclusions as Exclusions
|
|
|
|
/**
|
|
* Holds if the flow from `source` to `sink` should be excluded from the results of an end-to-end
|
|
* evaluation query.
|
|
*/
|
|
pragma[inline]
|
|
predicate isFlowExcluded(DataFlow::Node source, DataFlow::Node sink) {
|
|
Exclusions::isFileExcluded([source.getFile(), sink.getFile()])
|
|
}
|