mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Apply suggestions from code review
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* More precise modelling of several container functions and methods.
|
||||
* More precise modelling of several container functions (such as `sorted`, `reversed`) and methods (such as `set.add`, `list.append`).
|
||||
|
||||
@@ -4349,7 +4349,7 @@ private module StdlibPrivate {
|
||||
output = "Argument[self].ListElement" and
|
||||
preservesValue = true
|
||||
or
|
||||
// transfer taint from new element to this
|
||||
// transfer taint from new element to this (TODO: remove in future when taint-handling is more in line with other languages)
|
||||
input = "Argument[0]" and
|
||||
output = "Argument[self]" and
|
||||
preservesValue = false
|
||||
@@ -4391,7 +4391,7 @@ private module StdlibPrivate {
|
||||
output = "Argument[self].SetElement" and
|
||||
preservesValue = true
|
||||
or
|
||||
// transfer taint from new element to this
|
||||
// transfer taint from new element to this (TODO: remove in future when taint-handling is more in line with other languages)
|
||||
input = "Argument[0]" and
|
||||
output = "Argument[self]" and
|
||||
preservesValue = false
|
||||
|
||||
Reference in New Issue
Block a user