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