Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 339c072 commit fbe115cCopy full SHA for fbe115c
2 files changed
python/ql/test/experimental/dataflow/typetracking/mymodule.py
@@ -0,0 +1,4 @@
1
+x = tracked # $tracked
2
+
3
+def func():
4
+ return tracked # $tracked
python/ql/test/experimental/dataflow/typetracking/test.py
@@ -49,6 +49,14 @@ def global_var_write_test():
49
write_g(x) # $tracked
50
use_g()
51
52
+def test_import():
53
+ import mymodule
54
+ mymodule.x # $f-:tracked
55
+ y = mymodule.func() # $tracked
56
+ y # $tracked
57
58
+# ------------------------------------------------------------------------------
59
60
def expects_int(x): # $int
61
do_int_stuff(x) # $int
62
0 commit comments