Swift: Update prefix / suffix models for Swift 6.

This commit is contained in:
Geoffrey White
2024-11-01 16:03:24 +00:00
parent be12649838
commit 954fbc44bf
2 changed files with 4 additions and 2 deletions

View File

@@ -49,6 +49,10 @@ private class CollectionSummaries extends SummaryModelCsv {
";BidirectionalCollection;true;popLast();;;Argument[-1];ReturnValue;taint",
";BidirectionalCollection;true;reversed();;;Argument[-1];ReturnValue;taint",
";BidirectionalCollection;true;reversed();;;Argument[-1].CollectionElement;ReturnValue.CollectionElement;value",
";BidirectionalCollection;true;suffix(_:);;;Argument[-1];ReturnValue;taint",
";BidirectionalCollection;true;suffix(_:);;;Argument[-1].CollectionElement;ReturnValue.CollectionElement;value",
";BidirectionalCollection;true;suffix(from:);;;Argument[-1];ReturnValue;taint",
";BidirectionalCollection;true;suffix(_:);;;Argument[-1].CollectionElement;ReturnValue.CollectionElement;value",
";MutableCollection;true;withContiguousMutableStorageIfAvailable(_:);;;Argument[-1];Argument[0].Parameter[0].CollectionElement;taint",
";MutableCollection;true;withContiguousMutableStorageIfAvailable(_:);;;Argument[-1].CollectionElement;Argument[0].Parameter[0].CollectionElement;value",
";MutableCollection;true;withContiguousMutableStorageIfAvailable(_:);;;Argument[0].Parameter[0].CollectionElement;Argument[-1].CollectionElement;value",

View File

@@ -1,8 +1,6 @@
testFailures
| optionset.swift:60:49:61:1 | // $ tainted=60\n | Missing result: tainted=60 |
| optionset.swift:65:58:66:1 | // $ tainted=65\n | Missing result: tainted=65 |
| string.swift:586:19:587:1 | // $ tainted=565\n | Missing result: tainted=565 |
| string.swift:587:27:588:1 | // $ tainted=565\n | Missing result: tainted=565 |
| string.swift:599:35:600:1 | // $ tainted=599\n | Missing result: tainted=599 |
| string.swift:605:30:606:1 | // $ tainted=605\n | Missing result: tainted=605 |
failures