File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
swift/ql/lib/codeql/swift/frameworks/StandardLibrary Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,15 @@ private class CollectionSummaries extends SummaryModelCsv {
25
25
";Collection;true;split(maxSplits:omittingEmptySubsequences:whereSeparator:);;;Argument[-1];ReturnValue;taint" ,
26
26
";Collection;true;split(separator:maxSplits:omittingEmptySubsequences:);;;Argument[-1];ReturnValue;taint" ,
27
27
";Collection;true;removeFirst();;;Argument[-1];ReturnValue;taint" ,
28
+ ";Collection;true;popFirst();;;Argument[-1];ReturnValue;taint" ,
28
29
";RangeReplaceableCollection;true;append(_:);;;Argument[0];Argument[-1];taint" ,
29
30
";RangeReplaceableCollection;true;append(contentsOf:);;;Argument[0];Argument[-1];taint" ,
30
31
";RangeReplaceableCollection;true;remove(at:);;;Argument[-1];ReturnValue;taint" ,
31
32
";RangeReplaceableCollection;true;removeFirst();;;Argument[-1];ReturnValue;taint" ,
32
33
";RangeReplaceableCollection;true;removeLast();;;Argument[-1];ReturnValue;taint" ,
33
34
";BidirectionalCollection;true;joined(separator:);;;Argument[-1..0];ReturnValue;taint" ,
34
35
";BidirectionalCollection;true;last(where:);;;Argument[-1];ReturnValue;taint" ,
36
+ ";BidirectionalCollection;true;popLast();;;Argument[-1];ReturnValue;taint" ,
35
37
]
36
38
}
37
39
}
Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ private class StringSummaries extends SummaryModelCsv {
103
103
";String;true;insert(_:at:);;;Argument[0];Argument[-1];taint" ,
104
104
";String;true;insert(contentsOf:at:);;;Argument[0];Argument[-1];taint" ,
105
105
";String;true;replaceSubrange(_:with::);;;Argument[1];Argument[-1];taint" ,
106
- ";String;true;popLast();;;Argument[-1];ReturnValue;taint" ,
107
106
";String;true;max();;;Argument[-1];ReturnValue;taint" ,
108
107
";String;true;max(by:);;;Argument[-1];ReturnValue;taint" ,
109
108
";String;true;min();;;Argument[-1];ReturnValue;taint" ,
You can’t perform that action at this time.
0 commit comments