Skip to content

Commit 8f9f4ca

Browse files
committed
C++: Accept changes in UncontrolledFormatString test following aliased SSA removal
1 parent 979f8b4 commit 8f9f4ca

File tree

1 file changed

+15
-0
lines changed
  • cpp/ql/test/query-tests/Security/CWE/CWE-134/semmle/ifs

1 file changed

+15
-0
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-134/semmle/ifs/ifs.expected

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
edges
2+
| ifs.c:16:27:16:30 | **argv | ifs.c:43:3:43:14 | *... = ... | provenance | |
3+
| ifs.c:16:27:16:30 | **argv | ifs.c:49:3:49:14 | *... = ... | provenance | |
4+
| ifs.c:16:27:16:30 | **argv | ifs.c:55:3:55:14 | *... = ... | provenance | |
25
| ifs.c:16:27:16:30 | **argv | ifs.c:61:3:61:14 | *... = ... | provenance | |
36
| ifs.c:16:27:16:30 | **argv | ifs.c:68:3:68:14 | *... = ... | provenance | |
47
| ifs.c:16:27:16:30 | **argv | ifs.c:74:3:74:14 | *... = ... | provenance | |
@@ -10,6 +13,9 @@ edges
1013
| ifs.c:16:27:16:30 | **argv | ifs.c:111:3:111:14 | *... = ... | provenance | |
1114
| ifs.c:16:27:16:30 | **argv | ifs.c:117:3:117:14 | *... = ... | provenance | |
1215
| ifs.c:16:27:16:30 | **argv | ifs.c:123:3:123:14 | *... = ... | provenance | |
16+
| ifs.c:43:3:43:14 | *... = ... | ifs.c:44:9:44:10 | *c4 | provenance | |
17+
| ifs.c:49:3:49:14 | *... = ... | ifs.c:50:9:50:10 | *c5 | provenance | |
18+
| ifs.c:55:3:55:14 | *... = ... | ifs.c:56:9:56:10 | *c6 | provenance | |
1319
| ifs.c:61:3:61:14 | *... = ... | ifs.c:62:9:62:10 | *c7 | provenance | |
1420
| ifs.c:68:3:68:14 | *... = ... | ifs.c:69:9:69:10 | *c8 | provenance | |
1521
| ifs.c:74:3:74:14 | *... = ... | ifs.c:75:9:75:10 | *i1 | provenance | |
@@ -23,6 +29,12 @@ edges
2329
| ifs.c:123:3:123:14 | *... = ... | ifs.c:124:9:124:10 | *i9 | provenance | |
2430
nodes
2531
| ifs.c:16:27:16:30 | **argv | semmle.label | **argv |
32+
| ifs.c:43:3:43:14 | *... = ... | semmle.label | *... = ... |
33+
| ifs.c:44:9:44:10 | *c4 | semmle.label | *c4 |
34+
| ifs.c:49:3:49:14 | *... = ... | semmle.label | *... = ... |
35+
| ifs.c:50:9:50:10 | *c5 | semmle.label | *c5 |
36+
| ifs.c:55:3:55:14 | *... = ... | semmle.label | *... = ... |
37+
| ifs.c:56:9:56:10 | *c6 | semmle.label | *c6 |
2638
| ifs.c:61:3:61:14 | *... = ... | semmle.label | *... = ... |
2739
| ifs.c:62:9:62:10 | *c7 | semmle.label | *c7 |
2840
| ifs.c:68:3:68:14 | *... = ... | semmle.label | *... = ... |
@@ -47,6 +59,9 @@ nodes
4759
| ifs.c:124:9:124:10 | *i9 | semmle.label | *i9 |
4860
subpaths
4961
#select
62+
| ifs.c:44:9:44:10 | *c4 | ifs.c:16:27:16:30 | **argv | ifs.c:44:9:44:10 | *c4 | The value of this argument may come from $@ and is being used as a formatting argument to printf(format). | ifs.c:16:27:16:30 | **argv | a command-line argument |
63+
| ifs.c:50:9:50:10 | *c5 | ifs.c:16:27:16:30 | **argv | ifs.c:50:9:50:10 | *c5 | The value of this argument may come from $@ and is being used as a formatting argument to printf(format). | ifs.c:16:27:16:30 | **argv | a command-line argument |
64+
| ifs.c:56:9:56:10 | *c6 | ifs.c:16:27:16:30 | **argv | ifs.c:56:9:56:10 | *c6 | The value of this argument may come from $@ and is being used as a formatting argument to printf(format). | ifs.c:16:27:16:30 | **argv | a command-line argument |
5065
| ifs.c:62:9:62:10 | *c7 | ifs.c:16:27:16:30 | **argv | ifs.c:62:9:62:10 | *c7 | The value of this argument may come from $@ and is being used as a formatting argument to printf(format). | ifs.c:16:27:16:30 | **argv | a command-line argument |
5166
| ifs.c:69:9:69:10 | *c8 | ifs.c:16:27:16:30 | **argv | ifs.c:69:9:69:10 | *c8 | The value of this argument may come from $@ and is being used as a formatting argument to printf(format). | ifs.c:16:27:16:30 | **argv | a command-line argument |
5267
| ifs.c:75:9:75:10 | *i1 | ifs.c:16:27:16:30 | **argv | ifs.c:75:9:75:10 | *i1 | The value of this argument may come from $@ and is being used as a formatting argument to printf(format). | ifs.c:16:27:16:30 | **argv | a command-line argument |

0 commit comments

Comments
 (0)