mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Update javascript/ql/lib/semmle/javascript/GlobalAccessPaths.qll
Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
committed by
GitHub
parent
c023af7308
commit
bdab57b9d3
@@ -381,7 +381,7 @@ module AccessPath {
|
||||
result.getImmediateDominator() = writeNode.getBasicBlock()
|
||||
)
|
||||
or
|
||||
result.getImmediateDominator() = getASuccessorBBThatReadsVar(write) // more manual magic - outlined into a helper predicate.
|
||||
result.getImmediateDominator() = getASuccessorBBThatReadsVar(write)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user