mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
Update javascript/ql/src/semmle/javascript/explore/CallGraph.qll
Co-Authored-By: Max Schaefer <54907921+max-schaefer@users.noreply.github.com>
This commit is contained in:
@@ -77,7 +77,7 @@ private FunctionNode leafFunction() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds if `invoke` should be used as the starting point of a call path.
|
* Holds if `invoke` should be used as the end point of a call path.
|
||||||
*/
|
*/
|
||||||
predicate isEndOfCallPath(FunctionNode fun) {
|
predicate isEndOfCallPath(FunctionNode fun) {
|
||||||
// `fun` should either be a leaf function or part of a cycle with no leaves.
|
// `fun` should either be a leaf function or part of a cycle with no leaves.
|
||||||
|
|||||||
Reference in New Issue
Block a user