Merge pull request #983 from asger-semmle/closure-global-ref

JS: add closure library in globalObjectRef
This commit is contained in:
Max Schaefer
2019-02-26 16:55:58 +00:00
committed by GitHub
4 changed files with 12 additions and 0 deletions

View File

@@ -284,6 +284,9 @@ DataFlow::SourceNode globalObjectRef() {
or
// `require("global")`
result = moduleImport("global")
or
// Closure library - based on AST to avoid recursion with Closure library model
result = globalVarRef("goog").getAPropertyRead("global")
}
/**