File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/codeql/swift/frameworks/StandardLibrary
test/library-tests/dataflow/taint/libraries Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ private class UrlSummaries extends SummaryModelCsv {
119
119
";URL;true;resourceValues(forKeys:);;;Argument[-1];ReturnValue;taint" ,
120
120
";URL;true;setResourceValues(_:);;;Argument[0];Argument[-1];taint" ,
121
121
";URL;true;setTemporaryResourceValue(_:forKey:);;;Argument[-1..0];Argument[-1];taint" ,
122
- ";URL;true;withUnsafeFileSystemRepresentation(_:);;;Argument[-1], Argument[0].Parameter[0];ReturnValue ;taint" ,
122
+ ";URL;true;withUnsafeFileSystemRepresentation(_:);;;Argument[-1]; Argument[0].Parameter[0].OptionalSome.CollectionElement ;taint" ,
123
123
";URL;true;withUnsafeFileSystemRepresentation(_:);;;Argument[0].ReturnValue;ReturnValue;taint" ,
124
124
";URL;true;resolvingSymlinksInPath();;;Argument[-1];ReturnValue;taint" ,
125
125
";URL;true;appendPathComponent(_:);;;Argument[-1..0];Argument[-1];taint" ,
Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ func taintThroughURL() {
324
324
} )
325
325
urlTainted. withUnsafeFileSystemRepresentation ( {
326
326
ptr in
327
- sink ( any: ptr!) // $ MISSING: tainted=210
327
+ sink ( any: ptr!) // $ tainted=210
328
328
} )
329
329
330
330
sink ( arg: urlTainted. resolvingSymlinksInPath ( ) ) // $ tainted=210
You can’t perform that action at this time.
0 commit comments