mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Python: Fix missing global variable source nodes
In lieu of removing the offending flow (which would likely have consequences for a lot of other tests), I opted to simply _include_ the relevant nodes directly.
This commit is contained in:
@@ -72,7 +72,7 @@ def f():
|
||||
sink(foo) #$ use=moduleImport("danger").getMember("SOURCE")
|
||||
foo = NONSOURCE
|
||||
change_foo()
|
||||
sink(foo) #$ MISSING: use=moduleImport("danger").getMember("SOURCE")
|
||||
sink(foo) #$ use=moduleImport("danger").getMember("SOURCE")
|
||||
|
||||
# Star imports
|
||||
|
||||
|
||||
Reference in New Issue
Block a user