Update python/ql/test/experimental/dataflow/tainttracking/defaultAdditionalTaintStep/test_collections.py

This commit is contained in:
yoff
2023-05-12 13:06:08 +02:00
committed by GitHub
parent 62b60f490c
commit 6a5fc3c1b1

View File

@@ -85,7 +85,9 @@ def test_access_explicit(x, y, z):
iter(tainted_list), # $ tainted
next(iter(tainted_list)), # $ tainted
[i for i in tainted_list], # $ tainted
[tainted_list for _i in [1,2,3]], # $ MISSING: tainted
[tainted_list for i in [1,2,3]], # $ MISSING: tainted
[TAINTED_STRING for i in [1,2,3]], # $ tainted
[tainted_list], # $ tainted
)
a, b, c = tainted_list[0:3]