Python: Update type tracking and strange-essaflow tests

This commit is contained in:
Taus Brock-Nannestad
2020-09-14 15:05:16 +02:00
parent 5fb33c90bc
commit 0b641c5ce9
2 changed files with 3 additions and 1 deletions

View File

@@ -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 |

View File

@@ -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