mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
python: remove steps for container constructors
This commit is contained in:
@@ -28,19 +28,19 @@ def test_construction():
|
||||
)
|
||||
|
||||
ensure_tainted(
|
||||
list(tainted_list), # $ tainted
|
||||
list(tainted_tuple), # $ tainted
|
||||
list(tainted_set), # $ tainted
|
||||
list(tainted_dict.values()), # $ tainted
|
||||
list(tainted_dict.items()), # $ tainted
|
||||
list(tainted_list), # $ MISSING: tainted
|
||||
list(tainted_tuple), # $ MISSING: tainted
|
||||
list(tainted_set), # $ MISSING: tainted
|
||||
list(tainted_dict.values()), # $ MISSING: tainted
|
||||
list(tainted_dict.items()), # $ MISSING: tainted
|
||||
|
||||
tuple(tainted_list), # $ tainted
|
||||
set(tainted_list), # $ tainted
|
||||
frozenset(tainted_list), # $ tainted
|
||||
dict(tainted_dict), # $ tainted
|
||||
tuple(tainted_list), # $ MISSING: tainted
|
||||
set(tainted_list), # $ MISSING: tainted
|
||||
frozenset(tainted_list), # $ MISSING: tainted
|
||||
dict(tainted_dict), # $ MISSING: tainted
|
||||
dict(k = tainted_string)["k"], # $ MISSING: tainted
|
||||
dict(dict(k = tainted_string))["k"], # $ MISSING: tainted
|
||||
dict(["k", tainted_string]), # $ tainted
|
||||
dict(["k", tainted_string]), # $ MISSING: tainted
|
||||
)
|
||||
|
||||
ensure_not_tainted(
|
||||
|
||||
Reference in New Issue
Block a user