Skip to content

Commit 06a39d2

Browse files
committed
Swift: Accept test change.
1 parent edb29b4 commit 06a39d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

swift/ql/test/query-tests/Security/CWE-135/StringLengthConflation.expected

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
edges
22
| StringLengthConflation2.swift:37:34:37:36 | .count : | StringLengthConflation2.swift:37:34:37:44 | ... .-(_:_:) ... |
3+
| StringLengthConflation.swift:36:30:36:37 | len : | StringLengthConflation.swift:36:93:36:93 | len |
34
| StringLengthConflation.swift:60:47:60:50 | .length : | StringLengthConflation.swift:60:47:60:59 | ... ./(_:_:) ... |
45
| StringLengthConflation.swift:66:33:66:36 | .length : | StringLengthConflation.swift:66:33:66:45 | ... ./(_:_:) ... |
6+
| StringLengthConflation.swift:72:33:72:35 | .count : | StringLengthConflation.swift:36:30:36:37 | len : |
57
| StringLengthConflation.swift:96:28:96:31 | .length : | StringLengthConflation.swift:96:28:96:40 | ... .-(_:_:) ... |
68
| StringLengthConflation.swift:100:27:100:30 | .length : | StringLengthConflation.swift:100:27:100:39 | ... .-(_:_:) ... |
79
| StringLengthConflation.swift:104:25:104:28 | .length : | StringLengthConflation.swift:104:25:104:37 | ... .-(_:_:) ... |
@@ -18,6 +20,8 @@ edges
1820
nodes
1921
| StringLengthConflation2.swift:37:34:37:36 | .count : | semmle.label | .count : |
2022
| StringLengthConflation2.swift:37:34:37:44 | ... .-(_:_:) ... | semmle.label | ... .-(_:_:) ... |
23+
| StringLengthConflation.swift:36:30:36:37 | len : | semmle.label | len : |
24+
| StringLengthConflation.swift:36:93:36:93 | len | semmle.label | len |
2125
| StringLengthConflation.swift:53:43:53:46 | .length | semmle.label | .length |
2226
| StringLengthConflation.swift:54:43:54:50 | .count | semmle.label | .count |
2327
| StringLengthConflation.swift:55:43:55:51 | .count | semmle.label | .count |
@@ -27,6 +31,7 @@ nodes
2731
| StringLengthConflation.swift:66:33:66:36 | .length : | semmle.label | .length : |
2832
| StringLengthConflation.swift:66:33:66:45 | ... ./(_:_:) ... | semmle.label | ... ./(_:_:) ... |
2933
| StringLengthConflation.swift:72:33:72:35 | .count | semmle.label | .count |
34+
| StringLengthConflation.swift:72:33:72:35 | .count : | semmle.label | .count : |
3035
| StringLengthConflation.swift:78:47:78:49 | .count | semmle.label | .count |
3136
| StringLengthConflation.swift:79:47:79:54 | .count | semmle.label | .count |
3237
| StringLengthConflation.swift:81:47:81:64 | .count | semmle.label | .count |
@@ -59,6 +64,7 @@ nodes
5964
subpaths
6065
#select
6166
| StringLengthConflation2.swift:37:34:37:44 | ... .-(_:_:) ... | StringLengthConflation2.swift:37:34:37:36 | .count : | StringLengthConflation2.swift:37:34:37:44 | ... .-(_:_:) ... | This String length is used in an NSString, but it may not be equivalent. |
67+
| StringLengthConflation.swift:36:93:36:93 | len | StringLengthConflation.swift:72:33:72:35 | .count : | StringLengthConflation.swift:36:93:36:93 | len | This String length is used in an NSString, but it may not be equivalent. |
6268
| StringLengthConflation.swift:53:43:53:46 | .length | StringLengthConflation.swift:53:43:53:46 | .length | StringLengthConflation.swift:53:43:53:46 | .length | This NSString length is used in a String, but it may not be equivalent. |
6369
| StringLengthConflation.swift:54:43:54:50 | .count | StringLengthConflation.swift:54:43:54:50 | .count | StringLengthConflation.swift:54:43:54:50 | .count | This String.utf8 length is used in a String, but it may not be equivalent. |
6470
| StringLengthConflation.swift:55:43:55:51 | .count | StringLengthConflation.swift:55:43:55:51 | .count | StringLengthConflation.swift:55:43:55:51 | .count | This String.utf16 length is used in a String, but it may not be equivalent. |

0 commit comments

Comments
 (0)