Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b641c5

Browse files
committed
Python: Update type tracking and strange-essaflow tests
1 parent 5fb33c9 commit 0b641c5

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

python/ql/test/experimental/dataflow/strange-essaflow/testFlow.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ os_import
22
| test.py:2:8:2:9 | GSSA Variable os |
33
flowstep
44
jumpStep
5+
| test.py:2:8:2:9 | GSSA Variable os | file://:0:0:0:0 | ModuleVariableNode for Global Variable os in Module test |
56
essaFlowStep
7+
| test.py:2:8:2:9 | GSSA Variable os | file://:0:0:0:0 | ModuleVariableNode for Global Variable os in Module test |

python/ql/test/experimental/dataflow/typetracking/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def write_g(x): # $tracked
4242
g = x # $tracked
4343

4444
def use_g():
45-
do_stuff(g) # $f-:tracked // no global flow for now.
45+
do_stuff(g) # $tracked
4646

4747
def global_var_write_test():
4848
x = tracked # $tracked

0 commit comments

Comments
 (0)