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
@@ -384,6 +384,8 @@ edges
384
384
| nsstring.swift:84:3:84:94 | [summary param] this in applyingTransform(_:reverse:) : | file://:0:0:0:0 | [summary] to write: return (return) in applyingTransform(_:reverse:) : |
385
385
| nsstring.swift:86:3:86:96 | [summary param] 1 in replacingOccurrences(of:with:) : | file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:) : |
386
386
| nsstring.swift:86:3:86:96 | [summary param] this in replacingOccurrences(of:with:) : | file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:) : |
387
+
| nsstring.swift:87:3:87:163 | [summary param] 1 in replacingOccurrences(of:with:options:range:) : | file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:options:range:) : |
388
+
| nsstring.swift:87:3:87:163 | [summary param] this in replacingOccurrences(of:with:options:range:) : | file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:options:range:) : |
387
389
| nsstring.swift:88:3:88:41 | [summary param] this in propertyList() : | file://:0:0:0:0 | [summary] to write: return (return) in propertyList() : |
388
390
| nsstring.swift:89:3:89:80 | [summary param] this in propertyListFromStringsFileFormat() : | file://:0:0:0:0 | [summary] to write: return (return) in propertyListFromStringsFileFormat() : |
389
391
| nsstring.swift:90:3:90:76 | [summary param] this in variantFittingPresentationWidth(_:) : | file://:0:0:0:0 | [summary] to write: return (return) in variantFittingPresentationWidth(_:) : |
@@ -543,6 +545,10 @@ edges
543
545
| nsstring.swift:273:13:273:28 | call to sourceNSString() : | nsstring.swift:273:13:273:69 | call to replacingOccurrences(of:with:) |
544
546
| nsstring.swift:274:58:274:71 | call to sourceString() : | nsstring.swift:86:3:86:96 | [summary param] 1 in replacingOccurrences(of:with:) : |
545
547
| nsstring.swift:274:58:274:71 | call to sourceString() : | nsstring.swift:274:13:274:72 | call to replacingOccurrences(of:with:) |
548
+
| nsstring.swift:275:13:275:28 | call to sourceNSString() : | nsstring.swift:87:3:87:163 | [summary param] this in replacingOccurrences(of:with:options:range:) : |
549
+
| nsstring.swift:275:13:275:28 | call to sourceNSString() : | nsstring.swift:275:13:275:110 | call to replacingOccurrences(of:with:options:range:) |
550
+
| nsstring.swift:276:58:276:71 | call to sourceString() : | nsstring.swift:87:3:87:163 | [summary param] 1 in replacingOccurrences(of:with:options:range:) : |
551
+
| nsstring.swift:276:58:276:71 | call to sourceString() : | nsstring.swift:276:13:276:113 | call to replacingOccurrences(of:with:options:range:) |
546
552
| nsstring.swift:278:43:278:61 | call to sourceStringArray() : | nsstring.swift:56:3:56:78 | [summary param] 0 in path(withComponents:) : |
547
553
| nsstring.swift:278:43:278:61 | call to sourceStringArray() : | nsstring.swift:278:13:278:62 | call to path(withComponents:) |
548
554
| nsstring.swift:280:42:280:56 | call to sourceCString() : | nsstring.swift:57:3:57:83 | [summary param] 0 in string(withCString:) : |
@@ -1562,6 +1568,8 @@ nodes
1562
1568
| file://:0:0:0:0 | [summary] to write: return (return) in removeLast() : | semmle.label | [summary] to write: return (return) in removeLast() : |
1563
1569
| file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:) : | semmle.label | [summary] to write: return (return) in replacingOccurrences(of:with:) : |
1564
1570
| file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:) : | semmle.label | [summary] to write: return (return) in replacingOccurrences(of:with:) : |
1571
+
| file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:options:range:) : | semmle.label | [summary] to write: return (return) in replacingOccurrences(of:with:options:range:) : |
1572
+
| file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:options:range:) : | semmle.label | [summary] to write: return (return) in replacingOccurrences(of:with:options:range:) : |
1565
1573
| file://:0:0:0:0 | [summary] to write: return (return) in reversed() : | semmle.label | [summary] to write: return (return) in reversed() : |
1566
1574
| file://:0:0:0:0 | [summary] to write: return (return) in reversed() : | semmle.label | [summary] to write: return (return) in reversed() : |
1567
1575
| file://:0:0:0:0 | [summary] to write: return (return) in shuffled() : | semmle.label | [summary] to write: return (return) in shuffled() : |
@@ -1794,6 +1802,8 @@ nodes
1794
1802
| nsstring.swift:84:3:84:94 | [summary param] this in applyingTransform(_:reverse:) : | semmle.label | [summary param] this in applyingTransform(_:reverse:) : |
1795
1803
| nsstring.swift:86:3:86:96 | [summary param] 1 in replacingOccurrences(of:with:) : | semmle.label | [summary param] 1 in replacingOccurrences(of:with:) : |
1796
1804
| nsstring.swift:86:3:86:96 | [summary param] this in replacingOccurrences(of:with:) : | semmle.label | [summary param] this in replacingOccurrences(of:with:) : |
1805
+
| nsstring.swift:87:3:87:163 | [summary param] 1 in replacingOccurrences(of:with:options:range:) : | semmle.label | [summary param] 1 in replacingOccurrences(of:with:options:range:) : |
1806
+
| nsstring.swift:87:3:87:163 | [summary param] this in replacingOccurrences(of:with:options:range:) : | semmle.label | [summary param] this in replacingOccurrences(of:with:options:range:) : |
1797
1807
| nsstring.swift:88:3:88:41 | [summary param] this in propertyList() : | semmle.label | [summary param] this in propertyList() : |
1798
1808
| nsstring.swift:89:3:89:80 | [summary param] this in propertyListFromStringsFileFormat() : | semmle.label | [summary param] this in propertyListFromStringsFileFormat() : |
1799
1809
| nsstring.swift:90:3:90:76 | [summary param] this in variantFittingPresentationWidth(_:) : | semmle.label | [summary param] this in variantFittingPresentationWidth(_:) : |
@@ -1950,6 +1960,10 @@ nodes
1950
1960
| nsstring.swift:273:13:273:69 | call to replacingOccurrences(of:with:) | semmle.label | call to replacingOccurrences(of:with:) |
1951
1961
| nsstring.swift:274:13:274:72 | call to replacingOccurrences(of:with:) | semmle.label | call to replacingOccurrences(of:with:) |
1952
1962
| nsstring.swift:274:58:274:71 | call to sourceString() : | semmle.label | call to sourceString() : |
1963
+
| nsstring.swift:275:13:275:28 | call to sourceNSString() : | semmle.label | call to sourceNSString() : |
1964
+
| nsstring.swift:275:13:275:110 | call to replacingOccurrences(of:with:options:range:) | semmle.label | call to replacingOccurrences(of:with:options:range:) |
1965
+
| nsstring.swift:276:13:276:113 | call to replacingOccurrences(of:with:options:range:) | semmle.label | call to replacingOccurrences(of:with:options:range:) |
1966
+
| nsstring.swift:276:58:276:71 | call to sourceString() : | semmle.label | call to sourceString() : |
1953
1967
| nsstring.swift:278:13:278:62 | call to path(withComponents:) | semmle.label | call to path(withComponents:) |
1954
1968
| nsstring.swift:278:43:278:61 | call to sourceStringArray() : | semmle.label | call to sourceStringArray() : |
1955
1969
| nsstring.swift:280:13:280:57 | call to string(withCString:) | semmle.label | call to string(withCString:) |
@@ -2647,6 +2661,8 @@ subpaths
2647
2661
| nsstring.swift:272:13:272:28 | call to sourceNSString() : | nsstring.swift:92:3:92:91 | [summary param] this in data(using:allowLossyConversion:) : | file://:0:0:0:0 | [summary] to write: return (return) in data(using:allowLossyConversion:) : | nsstring.swift:272:13:272:72 | call to data(using:allowLossyConversion:) |
2648
2662
| nsstring.swift:273:13:273:28 | call to sourceNSString() : | nsstring.swift:86:3:86:96 | [summary param] this in replacingOccurrences(of:with:) : | file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:) : | nsstring.swift:273:13:273:69 | call to replacingOccurrences(of:with:) |
2649
2663
| nsstring.swift:274:58:274:71 | call to sourceString() : | nsstring.swift:86:3:86:96 | [summary param] 1 in replacingOccurrences(of:with:) : | file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:) : | nsstring.swift:274:13:274:72 | call to replacingOccurrences(of:with:) |
2664
+
| nsstring.swift:275:13:275:28 | call to sourceNSString() : | nsstring.swift:87:3:87:163 | [summary param] this in replacingOccurrences(of:with:options:range:) : | file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:options:range:) : | nsstring.swift:275:13:275:110 | call to replacingOccurrences(of:with:options:range:) |
2665
+
| nsstring.swift:276:58:276:71 | call to sourceString() : | nsstring.swift:87:3:87:163 | [summary param] 1 in replacingOccurrences(of:with:options:range:) : | file://:0:0:0:0 | [summary] to write: return (return) in replacingOccurrences(of:with:options:range:) : | nsstring.swift:276:13:276:113 | call to replacingOccurrences(of:with:options:range:) |
2650
2666
| nsstring.swift:278:43:278:61 | call to sourceStringArray() : | nsstring.swift:56:3:56:78 | [summary param] 0 in path(withComponents:) : | file://:0:0:0:0 | [summary] to write: return (return) in path(withComponents:) : | nsstring.swift:278:13:278:62 | call to path(withComponents:) |
2651
2667
| nsstring.swift:280:42:280:56 | call to sourceCString() : | nsstring.swift:57:3:57:83 | [summary param] 0 in string(withCString:) : | file://:0:0:0:0 | [summary] to write: return (return) in string(withCString:) : | nsstring.swift:280:13:280:57 | call to string(withCString:) |
2652
2668
| nsstring.swift:281:42:281:56 | call to sourceCString() : | nsstring.swift:58:3:58:96 | [summary param] 0 in string(withCString:length:) : | file://:0:0:0:0 | [summary] to write: return (return) in string(withCString:length:) : | nsstring.swift:281:13:281:70 | call to string(withCString:length:) |
@@ -2925,6 +2941,8 @@ subpaths
2925
2941
| nsstring.swift:272:13:272:72 | call to data(using:allowLossyConversion:) | nsstring.swift:272:13:272:28 | call to sourceNSString() : | nsstring.swift:272:13:272:72 | call to data(using:allowLossyConversion:) | result |
2926
2942
| nsstring.swift:273:13:273:69 | call to replacingOccurrences(of:with:) | nsstring.swift:273:13:273:28 | call to sourceNSString() : | nsstring.swift:273:13:273:69 | call to replacingOccurrences(of:with:) | result |
2927
2943
| nsstring.swift:274:13:274:72 | call to replacingOccurrences(of:with:) | nsstring.swift:274:58:274:71 | call to sourceString() : | nsstring.swift:274:13:274:72 | call to replacingOccurrences(of:with:) | result |
2944
+
| nsstring.swift:275:13:275:110 | call to replacingOccurrences(of:with:options:range:) | nsstring.swift:275:13:275:28 | call to sourceNSString() : | nsstring.swift:275:13:275:110 | call to replacingOccurrences(of:with:options:range:) | result |
2945
+
| nsstring.swift:276:13:276:113 | call to replacingOccurrences(of:with:options:range:) | nsstring.swift:276:58:276:71 | call to sourceString() : | nsstring.swift:276:13:276:113 | call to replacingOccurrences(of:with:options:range:) | result |
2928
2946
| nsstring.swift:278:13:278:62 | call to path(withComponents:) | nsstring.swift:278:43:278:61 | call to sourceStringArray() : | nsstring.swift:278:13:278:62 | call to path(withComponents:) | result |
2929
2947
| nsstring.swift:280:13:280:57 | call to string(withCString:) | nsstring.swift:280:42:280:56 | call to sourceCString() : | nsstring.swift:280:13:280:57 | call to string(withCString:) | result |
2930
2948
| nsstring.swift:281:13:281:70 | call to string(withCString:length:) | nsstring.swift:281:42:281:56 | call to sourceCString() : | nsstring.swift:281:13:281:70 | call to string(withCString:length:) | result |
0 commit comments