You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: swift/ql/test/library-tests/dataflow/taint/Taint.expected
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -363,6 +363,8 @@ edges
363
363
| nsstring.swift:69:3:69:61 | [summary param] this in lossyCString() : | file://:0:0:0:0 | [summary] to write: return (return) in lossyCString() : |
364
364
| nsstring.swift:72:3:72:106 | [summary param] 0 in appendingFormat(_:_:) : | file://:0:0:0:0 | [summary] to write: return (return) in appendingFormat(_:_:) : |
365
365
| nsstring.swift:72:3:72:106 | [summary param] this in appendingFormat(_:_:) : | file://:0:0:0:0 | [summary] to write: return (return) in appendingFormat(_:_:) : |
366
+
| nsstring.swift:73:3:73:59 | [summary param] 0 in appending(_:) : | file://:0:0:0:0 | [summary] to write: return (return) in appending(_:) : |
367
+
| nsstring.swift:73:3:73:59 | [summary param] this in appending(_:) : | file://:0:0:0:0 | [summary] to write: return (return) in appending(_:) : |
366
368
| nsstring.swift:74:3:74:116 | [summary param] 1 in padding(toLength:withPad:startingAt:) : | file://:0:0:0:0 | [summary] to write: return (return) in padding(toLength:withPad:startingAt:) : |
367
369
| nsstring.swift:74:3:74:116 | [summary param] this in padding(toLength:withPad:startingAt:) : | file://:0:0:0:0 | [summary] to write: return (return) in padding(toLength:withPad:startingAt:) : |
368
370
| nsstring.swift:75:3:75:63 | [summary param] this in lowercased(with:) : | file://:0:0:0:0 | [summary] to write: return (return) in lowercased(with:) : |
@@ -552,6 +554,10 @@ edges
552
554
| nsstring.swift:295:45:295:58 | call to sourceString() : | nsstring.swift:295:13:295:59 | call to appendingPathExtension(_:) |
553
555
| nsstring.swift:296:13:296:28 | call to sourceNSString() : | nsstring.swift:94:3:94:69 | [summary param] this in appendingPathExtension(_:) : |
554
556
| nsstring.swift:296:13:296:28 | call to sourceNSString() : | nsstring.swift:296:13:296:55 | call to appendingPathExtension(_:) |
557
+
| nsstring.swift:299:13:299:28 | call to sourceNSString() : | nsstring.swift:73:3:73:59 | [summary param] this in appending(_:) : |
558
+
| nsstring.swift:299:13:299:28 | call to sourceNSString() : | nsstring.swift:299:13:299:42 | call to appending(_:) |
559
+
| nsstring.swift:300:32:300:45 | call to sourceString() : | nsstring.swift:73:3:73:59 | [summary param] 0 in appending(_:) : |
560
+
| nsstring.swift:300:32:300:45 | call to sourceString() : | nsstring.swift:300:13:300:46 | call to appending(_:) |
555
561
| nsstring.swift:311:13:311:28 | call to sourceNSString() : | nsstring.swift:95:3:95:74 | [summary param] this in strings(byAppendingPaths:) : |
556
562
| nsstring.swift:311:13:311:28 | call to sourceNSString() : | nsstring.swift:311:13:311:60 | call to strings(byAppendingPaths:) |
557
563
| nsstring.swift:312:13:312:28 | call to sourceNSString() : | nsstring.swift:95:3:95:74 | [summary param] this in strings(byAppendingPaths:) : |
@@ -1441,6 +1447,8 @@ nodes
1441
1447
| file://:0:0:0:0 | [summary] to write: return (return) in WKUserScript.init(source:injectionTime:forMainFrameOnly:in:) : | semmle.label | [summary] to write: return (return) in WKUserScript.init(source:injectionTime:forMainFrameOnly:in:) : |
1442
1448
| file://:0:0:0:0 | [summary] to write: return (return) in appending(_:) : | semmle.label | [summary] to write: return (return) in appending(_:) : |
1443
1449
| file://:0:0:0:0 | [summary] to write: return (return) in appending(_:) : | semmle.label | [summary] to write: return (return) in appending(_:) : |
1450
+
| file://:0:0:0:0 | [summary] to write: return (return) in appending(_:) : | semmle.label | [summary] to write: return (return) in appending(_:) : |
1451
+
| file://:0:0:0:0 | [summary] to write: return (return) in appending(_:) : | semmle.label | [summary] to write: return (return) in appending(_:) : |
1444
1452
| file://:0:0:0:0 | [summary] to write: return (return) in appendingFormat(_:_:) : | semmle.label | [summary] to write: return (return) in appendingFormat(_:_:) : |
1445
1453
| file://:0:0:0:0 | [summary] to write: return (return) in appendingFormat(_:_:) : | semmle.label | [summary] to write: return (return) in appendingFormat(_:_:) : |
1446
1454
| file://:0:0:0:0 | [summary] to write: return (return) in appendingPathComponent(_:) : | semmle.label | [summary] to write: return (return) in appendingPathComponent(_:) : |
@@ -1710,6 +1718,8 @@ nodes
1710
1718
| nsstring.swift:69:3:69:61 | [summary param] this in lossyCString() : | semmle.label | [summary param] this in lossyCString() : |
1711
1719
| nsstring.swift:72:3:72:106 | [summary param] 0 in appendingFormat(_:_:) : | semmle.label | [summary param] 0 in appendingFormat(_:_:) : |
1712
1720
| nsstring.swift:72:3:72:106 | [summary param] this in appendingFormat(_:_:) : | semmle.label | [summary param] this in appendingFormat(_:_:) : |
1721
+
| nsstring.swift:73:3:73:59 | [summary param] 0 in appending(_:) : | semmle.label | [summary param] 0 in appending(_:) : |
1722
+
| nsstring.swift:73:3:73:59 | [summary param] this in appending(_:) : | semmle.label | [summary param] this in appending(_:) : |
1713
1723
| nsstring.swift:74:3:74:116 | [summary param] 1 in padding(toLength:withPad:startingAt:) : | semmle.label | [summary param] 1 in padding(toLength:withPad:startingAt:) : |
1714
1724
| nsstring.swift:74:3:74:116 | [summary param] this in padding(toLength:withPad:startingAt:) : | semmle.label | [summary param] this in padding(toLength:withPad:startingAt:) : |
1715
1725
| nsstring.swift:75:3:75:63 | [summary param] this in lowercased(with:) : | semmle.label | [summary param] this in lowercased(with:) : |
@@ -1896,6 +1906,10 @@ nodes
1896
1906
| nsstring.swift:295:45:295:58 | call to sourceString() : | semmle.label | call to sourceString() : |
1897
1907
| nsstring.swift:296:13:296:28 | call to sourceNSString() : | semmle.label | call to sourceNSString() : |
1898
1908
| nsstring.swift:296:13:296:55 | call to appendingPathExtension(_:) | semmle.label | call to appendingPathExtension(_:) |
1909
+
| nsstring.swift:299:13:299:28 | call to sourceNSString() : | semmle.label | call to sourceNSString() : |
1910
+
| nsstring.swift:299:13:299:42 | call to appending(_:) | semmle.label | call to appending(_:) |
1911
+
| nsstring.swift:300:13:300:46 | call to appending(_:) | semmle.label | call to appending(_:) |
1912
+
| nsstring.swift:300:32:300:45 | call to sourceString() : | semmle.label | call to sourceString() : |
1899
1913
| nsstring.swift:311:13:311:28 | call to sourceNSString() : | semmle.label | call to sourceNSString() : |
1900
1914
| nsstring.swift:311:13:311:60 | call to strings(byAppendingPaths:) | semmle.label | call to strings(byAppendingPaths:) |
1901
1915
| nsstring.swift:312:13:312:28 | call to sourceNSString() : | semmle.label | call to sourceNSString() : |
@@ -2548,6 +2562,8 @@ subpaths
2548
2562
| nsstring.swift:292:13:292:28 | call to sourceNSString() : | nsstring.swift:93:3:93:110 | [summary param] this in appendingPathComponent(_:conformingTo:) : | file://:0:0:0:0 | [summary] to write: return (return) in appendingPathComponent(_:conformingTo:) : | nsstring.swift:292:13:292:88 | call to appendingPathComponent(_:conformingTo:) |
2549
2563
| nsstring.swift:295:45:295:58 | call to sourceString() : | nsstring.swift:94:3:94:69 | [summary param] 0 in appendingPathExtension(_:) : | file://:0:0:0:0 | [summary] to write: return (return) in appendingPathExtension(_:) : | nsstring.swift:295:13:295:59 | call to appendingPathExtension(_:) |
2550
2564
| nsstring.swift:296:13:296:28 | call to sourceNSString() : | nsstring.swift:94:3:94:69 | [summary param] this in appendingPathExtension(_:) : | file://:0:0:0:0 | [summary] to write: return (return) in appendingPathExtension(_:) : | nsstring.swift:296:13:296:55 | call to appendingPathExtension(_:) |
2565
+
| nsstring.swift:299:13:299:28 | call to sourceNSString() : | nsstring.swift:73:3:73:59 | [summary param] this in appending(_:) : | file://:0:0:0:0 | [summary] to write: return (return) in appending(_:) : | nsstring.swift:299:13:299:42 | call to appending(_:) |
2566
+
| nsstring.swift:300:32:300:45 | call to sourceString() : | nsstring.swift:73:3:73:59 | [summary param] 0 in appending(_:) : | file://:0:0:0:0 | [summary] to write: return (return) in appending(_:) : | nsstring.swift:300:13:300:46 | call to appending(_:) |
2551
2567
| nsstring.swift:311:13:311:28 | call to sourceNSString() : | nsstring.swift:95:3:95:74 | [summary param] this in strings(byAppendingPaths:) : | file://:0:0:0:0 | [summary] to write: return (return) in strings(byAppendingPaths:) : | nsstring.swift:311:13:311:60 | call to strings(byAppendingPaths:) |
2552
2568
| nsstring.swift:312:13:312:28 | call to sourceNSString() : | nsstring.swift:95:3:95:74 | [summary param] this in strings(byAppendingPaths:) : | file://:0:0:0:0 | [summary] to write: return (return) in strings(byAppendingPaths:) : | nsstring.swift:312:13:312:60 | call to strings(byAppendingPaths:) : |
2553
2569
| nsstring.swift:334:3:334:18 | call to sourceNSString() : | nsstring.swift:66:3:66:281 | [summary param] this in getBytes(_:maxLength:usedLength:encoding:options:range:remaining:) : | file://:0:0:0:0 | [summary] to write: argument 0 in getBytes(_:maxLength:usedLength:encoding:options:range:remaining:) : | nsstring.swift:334:29:334:29 | [post] ptr3 : |
@@ -2813,6 +2829,8 @@ subpaths
2813
2829
| nsstring.swift:292:13:292:88 | call to appendingPathComponent(_:conformingTo:) | nsstring.swift:292:13:292:28 | call to sourceNSString() : | nsstring.swift:292:13:292:88 | call to appendingPathComponent(_:conformingTo:) | result |
2814
2830
| nsstring.swift:295:13:295:59 | call to appendingPathExtension(_:) | nsstring.swift:295:45:295:58 | call to sourceString() : | nsstring.swift:295:13:295:59 | call to appendingPathExtension(_:) | result |
2815
2831
| nsstring.swift:296:13:296:55 | call to appendingPathExtension(_:) | nsstring.swift:296:13:296:28 | call to sourceNSString() : | nsstring.swift:296:13:296:55 | call to appendingPathExtension(_:) | result |
2832
+
| nsstring.swift:299:13:299:42 | call to appending(_:) | nsstring.swift:299:13:299:28 | call to sourceNSString() : | nsstring.swift:299:13:299:42 | call to appending(_:) | result |
2833
+
| nsstring.swift:300:13:300:46 | call to appending(_:) | nsstring.swift:300:32:300:45 | call to sourceString() : | nsstring.swift:300:13:300:46 | call to appending(_:) | result |
2816
2834
| nsstring.swift:311:13:311:60 | call to strings(byAppendingPaths:) | nsstring.swift:311:13:311:28 | call to sourceNSString() : | nsstring.swift:311:13:311:60 | call to strings(byAppendingPaths:) | result |
2817
2835
| nsstring.swift:312:13:312:63 | ...[...] | nsstring.swift:312:13:312:28 | call to sourceNSString() : | nsstring.swift:312:13:312:63 | ...[...] | result |
2818
2836
| nsstring.swift:335:13:335:13 | ptr3 | nsstring.swift:334:3:334:18 | call to sourceNSString() : | nsstring.swift:335:13:335:13 | ptr3 | result |
0 commit comments