Skip to content

Commit 6f37d7c

Browse files
committed
Swift: Accept changes in paths.
1 parent 56b49a4 commit 6f37d7c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

swift/ql/test/query-tests/Security/CWE-134/UncontrolledFormatString.expected

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
edges
2-
| UncontrolledFormatString.swift:57:12:57:22 | format | UncontrolledFormatString.swift:59:16:59:16 | format |
2+
| UncontrolledFormatString.swift:57:12:57:22 | format | UncontrolledFormatString.swift:58:22:60:5 | format |
3+
| UncontrolledFormatString.swift:58:22:60:5 | format | UncontrolledFormatString.swift:58:22:60:5 | { ... } [format] |
4+
| UncontrolledFormatString.swift:58:22:60:5 | { ... } [format] | UncontrolledFormatString.swift:59:16:59:16 | this [format] |
5+
| UncontrolledFormatString.swift:59:16:59:16 | this [format] | UncontrolledFormatString.swift:59:16:59:16 | format |
36
| UncontrolledFormatString.swift:64:24:64:77 | call to String.init(contentsOf:) | UncontrolledFormatString.swift:70:28:70:28 | tainted |
47
| UncontrolledFormatString.swift:64:24:64:77 | call to String.init(contentsOf:) | UncontrolledFormatString.swift:73:28:73:28 | tainted |
58
| UncontrolledFormatString.swift:64:24:64:77 | call to String.init(contentsOf:) | UncontrolledFormatString.swift:74:28:74:28 | tainted |
@@ -21,7 +24,10 @@ edges
2124
| UncontrolledFormatString.swift:89:11:89:11 | tainted | UncontrolledFormatString.swift:57:12:57:22 | format |
2225
nodes
2326
| UncontrolledFormatString.swift:57:12:57:22 | format | semmle.label | format |
27+
| UncontrolledFormatString.swift:58:22:60:5 | format | semmle.label | format |
28+
| UncontrolledFormatString.swift:58:22:60:5 | { ... } [format] | semmle.label | { ... } [format] |
2429
| UncontrolledFormatString.swift:59:16:59:16 | format | semmle.label | format |
30+
| UncontrolledFormatString.swift:59:16:59:16 | this [format] | semmle.label | this [format] |
2531
| UncontrolledFormatString.swift:64:24:64:77 | call to String.init(contentsOf:) | semmle.label | call to String.init(contentsOf:) |
2632
| UncontrolledFormatString.swift:70:28:70:28 | tainted | semmle.label | tainted |
2733
| UncontrolledFormatString.swift:73:28:73:28 | tainted | semmle.label | tainted |

0 commit comments

Comments
 (0)