mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
JS: Remove obsolete overlay[global] annotations
This commit is contained in:
@@ -102,7 +102,6 @@ module DataFlow {
|
|||||||
* Holds if this data flow node accesses the global variable `g`, either directly
|
* Holds if this data flow node accesses the global variable `g`, either directly
|
||||||
* or through the `window` object.
|
* or through the `window` object.
|
||||||
*/
|
*/
|
||||||
overlay[global]
|
|
||||||
predicate accessesGlobal(string g) { globalVarRef(g).flowsTo(this) }
|
predicate accessesGlobal(string g) { globalVarRef(g).flowsTo(this) }
|
||||||
|
|
||||||
/** Holds if this node may evaluate to the string `s`, possibly through local data flow. */
|
/** Holds if this node may evaluate to the string `s`, possibly through local data flow. */
|
||||||
|
|||||||
@@ -791,7 +791,6 @@ ModuleImportNode dependencyModuleImport(Dependency dep) {
|
|||||||
* the given `path`, or accesses `m` as a member on a default or
|
* the given `path`, or accesses `m` as a member on a default or
|
||||||
* namespace import from `path`.
|
* namespace import from `path`.
|
||||||
*/
|
*/
|
||||||
overlay[global]
|
|
||||||
DataFlow::SourceNode moduleMember(string path, string m) {
|
DataFlow::SourceNode moduleMember(string path, string m) {
|
||||||
result = moduleImport(path).getAPropertyRead(m)
|
result = moduleImport(path).getAPropertyRead(m)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user