mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Python: More precise dataflow for tuples
(and dictionaries, but that is not fleshed out)
This commit is contained in:
@@ -28,7 +28,7 @@ def test_tuple_with_local_flow():
|
||||
def test_tuple_negative():
|
||||
x = (NONSOURCE, SOURCE)
|
||||
y = x[0]
|
||||
SINK_F(y) # False positive
|
||||
SINK_F(y)
|
||||
|
||||
# 6.2.1. Identifiers (Names)
|
||||
def test_names():
|
||||
|
||||
Reference in New Issue
Block a user