зеркало из https://github.com/github/codeql.git
Swift: Use enum content in withContiguousStorageIfAvailable model.
This commit is contained in:
Родитель
aedd073dad
Коммит
5188095529
|
@ -26,7 +26,7 @@ private class SequenceSummaries extends SummaryModelCsv {
|
|||
";Sequence;true;joined(separator:);;;Argument[-1..0];ReturnValue;taint",
|
||||
";Sequence;true;first(where:);;;Argument[-1];ReturnValue;taint",
|
||||
";Sequence;true;withContiguousStorageIfAvailable(_:);;;Argument[-1];Argument[0].Parameter[0];taint",
|
||||
";Sequence;true;withContiguousStorageIfAvailable(_:);;;Argument[0].ReturnValue;ReturnValue;taint",
|
||||
";Sequence;true;withContiguousStorageIfAvailable(_:);;;Argument[0].ReturnValue;ReturnValue.OptionalSome;taint",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -639,7 +639,7 @@ func furtherTaintThroughCallbacks() {
|
|||
ptr in
|
||||
return source()
|
||||
}) {
|
||||
sink(arg: result4) // $ MISSING: tainted=640
|
||||
sink(arg: result4) // $ tainted=640
|
||||
}
|
||||
|
||||
// using a non-closure function
|
||||
|
|
Загрузка…
Ссылка в новой задаче