mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Python: Update type tracking and strange-essaflow tests
This commit is contained in:
@@ -2,4 +2,6 @@ os_import
|
||||
| test.py:2:8:2:9 | GSSA Variable os |
|
||||
flowstep
|
||||
jumpStep
|
||||
| test.py:2:8:2:9 | GSSA Variable os | file://:0:0:0:0 | ModuleVariableNode for Global Variable os in Module test |
|
||||
essaFlowStep
|
||||
| test.py:2:8:2:9 | GSSA Variable os | file://:0:0:0:0 | ModuleVariableNode for Global Variable os in Module test |
|
||||
|
||||
@@ -42,7 +42,7 @@ def write_g(x): # $tracked
|
||||
g = x # $tracked
|
||||
|
||||
def use_g():
|
||||
do_stuff(g) # $f-:tracked // no global flow for now.
|
||||
do_stuff(g) # $tracked
|
||||
|
||||
def global_var_write_test():
|
||||
x = tracked # $tracked
|
||||
|
||||
Reference in New Issue
Block a user