mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
Python: just use ListElementContent for iterables
This commit is contained in:
@@ -4224,6 +4224,10 @@ module StdlibPrivate {
|
||||
preservesValue = true
|
||||
)
|
||||
or
|
||||
input = "Argument[0].ListElement.TupleElement[1]" and
|
||||
output = "ReturnValue.DictionaryElementAny" and
|
||||
preservesValue = true
|
||||
or
|
||||
exists(DataFlow::DictionaryElementContent dc, string key | key = dc.getKey() |
|
||||
input = "Argument[" + key + ":]" and
|
||||
output = "ReturnValue.DictionaryElement[" + key + "]" and
|
||||
|
||||
Reference in New Issue
Block a user