File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
lib/codeql/swift/frameworks/StandardLibrary
test/library-tests/dataflow/taint/libraries Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ private class CollectionSummaries extends SummaryModelCsv {
43
43
";BidirectionalCollection;true;dropLast(_:);;;Argument[-1];ReturnValue;taint" ,
44
44
";BidirectionalCollection;true;dropLast(_:);;;Argument[-1].CollectionElement;ReturnValue.CollectionElement;value" ,
45
45
";BidirectionalCollection;true;joined(separator:);;;Argument[-1..0];ReturnValue;taint" ,
46
+ ";BidirectionalCollection;true;joined(separator:);;;Argument[-1].CollectionElement;ReturnValue;taint" ,
47
+ ";BidirectionalCollection;true;joined(separator:);;;Argument[-1].CollectionElement.CollectionElement;ReturnValue.CollectionElement;value" ,
46
48
";BidirectionalCollection;true;last(where:);;;Argument[-1];ReturnValue;taint" ,
47
49
";BidirectionalCollection;true;popLast();;;Argument[-1];ReturnValue;taint" ,
48
50
";BidirectionalCollection;true;reversed();;;Argument[-1];ReturnValue;taint" ,
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ private class SequenceSummaries extends SummaryModelCsv {
45
45
";Sequence;true;joined();;;Argument[-1].CollectionElement.CollectionElement;ReturnValue.CollectionElement;value" ,
46
46
";Sequence;true;joined(separator:);;;Argument[0..-1];ReturnValue;taint" ,
47
47
";Sequence;true;joined(separator:);;;Argument[-1].CollectionElement;ReturnValue;taint" ,
48
+ ";Sequence;true;joined(separator:);;;Argument[-1].CollectionElement.CollectionElement;ReturnValue.CollectionElement;value" ,
48
49
";Sequence;true;first(where:);;;Argument[-1].CollectionElement;ReturnValue;value" ,
49
50
";Sequence;true;withContiguousStorageIfAvailable(_:);;;Argument[-1];Argument[0].Parameter[0].CollectionElement;taint" ,
50
51
";Sequence;true;withContiguousStorageIfAvailable(_:);;;Argument[-1].CollectionElement;Argument[0].Parameter[0].CollectionElement;value" ,
Original file line number Diff line number Diff line change 1
1
testFailures
2
2
| optionset.swift:60:49:61:1 | // $ tainted=60\n | Missing result: tainted=60 |
3
3
| optionset.swift:65:58:66:1 | // $ tainted=65\n | Missing result: tainted=65 |
4
- | string.swift:270:40:271:1 | // $ tainted=217\n | Missing result: tainted=217 |
5
- | string.swift:271:40:272:1 | // $ tainted=217\n | Missing result: tainted=217 |
6
- | string.swift:272:42:273:1 | // $ tainted=217\n | Missing result: tainted=217 |
7
4
| string.swift:586:19:587:1 | // $ tainted=565\n | Missing result: tainted=565 |
8
5
| string.swift:587:27:588:1 | // $ tainted=565\n | Missing result: tainted=565 |
9
6
| string.swift:599:35:600:1 | // $ tainted=599\n | Missing result: tainted=599 |
You can’t perform that action at this time.
0 commit comments