mirror of
https://github.com/github/codeql.git
synced 2026-06-06 05:57:07 +02:00
Remove imprecise model for list()
This commit is contained in:
@@ -4244,15 +4244,9 @@ module StdlibPrivate {
|
||||
)
|
||||
// TODO: Once we have DictKeyContent, we need to transform that into ListElementContent
|
||||
) and
|
||||
(
|
||||
// Element content is mutated into list element content
|
||||
output = "ReturnValue.ListElement" and
|
||||
preservesValue = true
|
||||
or
|
||||
// Since list content is imprecise, we also taint the list.
|
||||
output = "ReturnValue" and
|
||||
preservesValue = false
|
||||
)
|
||||
// Element content is mutated into list element content
|
||||
output = "ReturnValue.ListElement" and
|
||||
preservesValue = true
|
||||
or
|
||||
input = "Argument[0]" and
|
||||
output = "ReturnValue" and
|
||||
|
||||
Reference in New Issue
Block a user