File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
lib/codeql/swift/frameworks/StandardLibrary
test/library-tests/dataflow/taint/libraries Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ private class CollectionSummaries extends SummaryModelCsv {
49
49
";BidirectionalCollection;true;popLast();;;Argument[-1];ReturnValue;taint" ,
50
50
";BidirectionalCollection;true;reversed();;;Argument[-1];ReturnValue;taint" ,
51
51
";BidirectionalCollection;true;reversed();;;Argument[-1].CollectionElement;ReturnValue.CollectionElement;value" ,
52
+ ";BidirectionalCollection;true;suffix(_:);;;Argument[-1];ReturnValue;taint" ,
53
+ ";BidirectionalCollection;true;suffix(_:);;;Argument[-1].CollectionElement;ReturnValue.CollectionElement;value" ,
54
+ ";BidirectionalCollection;true;suffix(from:);;;Argument[-1];ReturnValue;taint" ,
55
+ ";BidirectionalCollection;true;suffix(_:);;;Argument[-1].CollectionElement;ReturnValue.CollectionElement;value" ,
52
56
";MutableCollection;true;withContiguousMutableStorageIfAvailable(_:);;;Argument[-1];Argument[0].Parameter[0].CollectionElement;taint" ,
53
57
";MutableCollection;true;withContiguousMutableStorageIfAvailable(_:);;;Argument[-1].CollectionElement;Argument[0].Parameter[0].CollectionElement;value" ,
54
58
";MutableCollection;true;withContiguousMutableStorageIfAvailable(_:);;;Argument[0].Parameter[0].CollectionElement;Argument[-1].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:586:19:587:1 | // $ tainted=565\n | Missing result: tainted=565 |
5
- | string.swift:587:27:588:1 | // $ tainted=565\n | Missing result: tainted=565 |
6
4
| string.swift:599:35:600:1 | // $ tainted=599\n | Missing result: tainted=599 |
7
5
| string.swift:605:30:606:1 | // $ tainted=605\n | Missing result: tainted=605 |
8
6
failures
You can’t perform that action at this time.
0 commit comments