mirror of
https://github.com/github/codeql.git
synced 2026-04-22 07:15:15 +02:00
API graphs: Remove restriction on top-level constants
This commit is contained in:
@@ -270,8 +270,7 @@ module API {
|
||||
or
|
||||
name = read.getName() and
|
||||
not exists(resolveScopeExpr(read)) and
|
||||
not exists(read.getScopeExpr()) and
|
||||
not exists(read.getValue())
|
||||
not exists(read.getScopeExpr())
|
||||
)
|
||||
or
|
||||
exists(DataFlow::LocalSourceNode src, DataFlow::LocalSourceNode pred |
|
||||
|
||||
Reference in New Issue
Block a user