File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
swift/ql/lib/codeql/swift/frameworks/StandardLibrary Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ private class CollectionSummaries extends SummaryModelCsv {
2525 ";Collection;true;split(maxSplits:omittingEmptySubsequences:whereSeparator:);;;Argument[-1];ReturnValue;taint" ,
2626 ";Collection;true;split(separator:maxSplits:omittingEmptySubsequences:);;;Argument[-1];ReturnValue;taint" ,
2727 ";Collection;true;removeFirst();;;Argument[-1];ReturnValue;taint" ,
28+ ";RangeReplaceableCollection;true;append(_:);;;Argument[0];Argument[-1];taint" ,
29+ ";RangeReplaceableCollection;true;append(contentsOf:);;;Argument[0];Argument[-1];taint" ,
2830 ";RangeReplaceableCollection;true;remove(at:);;;Argument[-1];ReturnValue;taint" ,
2931 ";RangeReplaceableCollection;true;removeFirst();;;Argument[-1];ReturnValue;taint" ,
3032 ";RangeReplaceableCollection;true;removeLast();;;Argument[-1];ReturnValue;taint" ,
Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ private class DataSummaries extends SummaryModelCsv {
2222 ";Data;true;init(contentsOf:options:);;;Argument[0];ReturnValue;taint" ,
2323 ";Data;true;init(bytesNoCopy:count:deallocator:);;;Argument[0];ReturnValue;taint" ,
2424 ";Data;true;init(referencing:);;;Argument[0];ReturnValue;taint" ,
25- ";Data;true;append(_:);;;Argument[0];Argument[-1];taint" ,
2625 ";Data;true;append(_:count:);;;Argument[0];Argument[-1];taint" ,
27- ";Data;true;append(contentsOf:);;;Argument[0];Argument[-1];taint" ,
2826 ";Data;true;base64EncodedData(options:);;;Argument[-1];ReturnValue;taint" ,
2927 ";Data;true;base64EncodedString(options:);;;Argument[-1];ReturnValue;taint" ,
3028 ";Data;true;compactMap(_:);;;Argument[-1];ReturnValue;taint" ,
Original file line number Diff line number Diff line change @@ -100,8 +100,6 @@ private class StringSummaries extends SummaryModelCsv {
100100 ";String;true;localizedStringWithFormat(_:_:);;;Argument[0..1];ReturnValue;taint" ,
101101 ";String;true;write(_:);;;Argument[0];Argument[-1];taint" ,
102102 ";String;true;write(to:);;;Argument[-1];Argument[0];taint" ,
103- ";String;true;append(_:);;;Argument[0];Argument[-1];taint" ,
104- ";String;true;append(contentsOf:);;;Argument[0];Argument[-1];taint" ,
105103 ";String;true;insert(_:at:);;;Argument[0];Argument[-1];taint" ,
106104 ";String;true;insert(contentsOf:at:);;;Argument[0];Argument[-1];taint" ,
107105 ";String;true;replaceSubrange(_:with::);;;Argument[1];Argument[-1];taint" ,
You can’t perform that action at this time.
0 commit comments