Skip to content

Commit 73cd5ce

Browse files
committed
C++: Accept tests. Due to the removal of overlap between the reads steps there are fewer repeated edges in path explanations.
1 parent 62d42f2 commit 73cd5ce

File tree

6 files changed

+16
-112
lines changed

6 files changed

+16
-112
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-079/semmle/CgiXss/CgiXss.expected

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ edges
22
| search.c:14:24:14:28 | query | search.c:17:8:17:12 | (const char *)... |
33
| search.c:14:24:14:28 | query | search.c:17:8:17:12 | query |
44
| search.c:14:24:14:28 | query | search.c:17:8:17:12 | query |
5-
| search.c:14:24:14:28 | query | search.c:17:8:17:12 | query |
6-
| search.c:17:8:17:12 | query | search.c:17:8:17:12 | (const char *)... |
7-
| search.c:17:8:17:12 | query | search.c:17:8:17:12 | query |
85
| search.c:22:24:22:28 | query | search.c:23:39:23:43 | query |
96
| search.c:22:24:22:28 | query | search.c:23:39:23:43 | query |
107
| search.c:41:21:41:26 | call to getenv | search.c:45:17:45:25 | raw_query |

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

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ edges
1919
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:101:9:101:10 | i1 |
2020
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:101:9:101:10 | i1 |
2121
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:101:9:101:10 | i1 |
22-
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:101:9:101:10 | i1 |
23-
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:101:9:101:10 | i1 |
2422
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:102:15:102:16 | i1 |
2523
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:102:15:102:16 | i1 |
2624
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:102:15:102:16 | i1 |
@@ -31,14 +29,10 @@ edges
3129
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:144:9:144:10 | i7 |
3230
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:144:9:144:10 | i7 |
3331
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:144:9:144:10 | i7 |
34-
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:144:9:144:10 | i7 |
35-
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:144:9:144:10 | i7 |
3632
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:145:15:145:16 | i7 |
3733
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:145:15:145:16 | i7 |
3834
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:145:15:145:16 | i7 |
3935
| argvLocal.c:100:7:100:10 | argv | argvLocal.c:145:15:145:16 | i7 |
40-
| argvLocal.c:101:9:101:10 | i1 | argvLocal.c:101:9:101:10 | (const char *)... |
41-
| argvLocal.c:101:9:101:10 | i1 | argvLocal.c:101:9:101:10 | i1 |
4236
| argvLocal.c:105:14:105:17 | argv | argvLocal.c:106:9:106:13 | (const char *)... |
4337
| argvLocal.c:105:14:105:17 | argv | argvLocal.c:106:9:106:13 | (const char *)... |
4438
| argvLocal.c:105:14:105:17 | argv | argvLocal.c:106:9:106:13 | access to array |
@@ -143,22 +137,16 @@ edges
143137
| argvLocal.c:128:15:128:16 | printWrapper output argument | argvLocal.c:131:9:131:14 | ... + ... |
144138
| argvLocal.c:128:15:128:16 | printWrapper output argument | argvLocal.c:132:15:132:20 | ... + ... |
145139
| argvLocal.c:128:15:128:16 | printWrapper output argument | argvLocal.c:132:15:132:20 | ... + ... |
146-
| argvLocal.c:144:9:144:10 | i7 | argvLocal.c:144:9:144:10 | (const char *)... |
147-
| argvLocal.c:144:9:144:10 | i7 | argvLocal.c:144:9:144:10 | i7 |
148140
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:150:9:150:10 | (const char *)... |
149141
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:150:9:150:10 | (const char *)... |
150142
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:150:9:150:10 | i8 |
151143
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:150:9:150:10 | i8 |
152144
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:150:9:150:10 | i8 |
153145
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:150:9:150:10 | i8 |
154-
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:150:9:150:10 | i8 |
155-
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:150:9:150:10 | i8 |
156146
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:151:15:151:16 | i8 |
157147
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:151:15:151:16 | i8 |
158148
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:151:15:151:16 | i8 |
159149
| argvLocal.c:149:11:149:14 | argv | argvLocal.c:151:15:151:16 | i8 |
160-
| argvLocal.c:150:9:150:10 | i8 | argvLocal.c:150:9:150:10 | (const char *)... |
161-
| argvLocal.c:150:9:150:10 | i8 | argvLocal.c:150:9:150:10 | i8 |
162150
| argvLocal.c:156:23:156:26 | argv | argvLocal.c:157:9:157:10 | (const char *)... |
163151
| argvLocal.c:156:23:156:26 | argv | argvLocal.c:157:9:157:10 | (const char *)... |
164152
| argvLocal.c:156:23:156:26 | argv | argvLocal.c:157:9:157:10 | i9 |
@@ -183,21 +171,12 @@ edges
183171
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:169:18:169:20 | i10 |
184172
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:169:18:169:20 | i10 |
185173
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:169:18:169:20 | i10 |
186-
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:169:18:169:20 | i10 |
187-
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:169:18:169:20 | i10 |
188174
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:170:15:170:26 | (char *)... |
189175
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:170:15:170:26 | (char *)... |
190176
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:170:24:170:26 | i10 |
191177
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:170:24:170:26 | i10 |
192178
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:170:24:170:26 | i10 |
193179
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:170:24:170:26 | i10 |
194-
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:170:24:170:26 | i10 |
195-
| argvLocal.c:168:18:168:21 | argv | argvLocal.c:170:24:170:26 | i10 |
196-
| argvLocal.c:169:18:169:20 | i10 | argvLocal.c:169:9:169:20 | (char *)... |
197-
| argvLocal.c:169:18:169:20 | i10 | argvLocal.c:169:9:169:20 | (const char *)... |
198-
| argvLocal.c:169:18:169:20 | i10 | argvLocal.c:169:18:169:20 | i10 |
199-
| argvLocal.c:170:24:170:26 | i10 | argvLocal.c:170:15:170:26 | (char *)... |
200-
| argvLocal.c:170:24:170:26 | i10 | argvLocal.c:170:24:170:26 | i10 |
201180
nodes
202181
| argvLocal.c:9:25:9:31 | *correct | semmle.label | *correct |
203182
| argvLocal.c:9:25:9:31 | correct | semmle.label | correct |

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,10 @@ edges
1717
| funcsLocal.c:31:13:31:17 | call to fgets | funcsLocal.c:32:9:32:10 | i4 |
1818
| funcsLocal.c:31:13:31:17 | call to fgets | funcsLocal.c:32:9:32:10 | i4 |
1919
| funcsLocal.c:31:13:31:17 | call to fgets | funcsLocal.c:32:9:32:10 | i4 |
20-
| funcsLocal.c:31:13:31:17 | call to fgets | funcsLocal.c:32:9:32:10 | i4 |
21-
| funcsLocal.c:31:13:31:17 | call to fgets | funcsLocal.c:32:9:32:10 | i4 |
2220
| funcsLocal.c:31:19:31:21 | fgets output argument | funcsLocal.c:32:9:32:10 | (const char *)... |
2321
| funcsLocal.c:31:19:31:21 | fgets output argument | funcsLocal.c:32:9:32:10 | i4 |
2422
| funcsLocal.c:31:19:31:21 | i41 | funcsLocal.c:32:9:32:10 | (const char *)... |
2523
| funcsLocal.c:31:19:31:21 | i41 | funcsLocal.c:32:9:32:10 | i4 |
26-
| funcsLocal.c:32:9:32:10 | i4 | funcsLocal.c:32:9:32:10 | (const char *)... |
27-
| funcsLocal.c:32:9:32:10 | i4 | funcsLocal.c:32:9:32:10 | i4 |
2824
| funcsLocal.c:36:7:36:8 | gets output argument | funcsLocal.c:37:9:37:10 | (const char *)... |
2925
| funcsLocal.c:36:7:36:8 | gets output argument | funcsLocal.c:37:9:37:10 | i5 |
3026
| funcsLocal.c:36:7:36:8 | i5 | funcsLocal.c:37:9:37:10 | (const char *)... |
@@ -35,14 +31,10 @@ edges
3531
| funcsLocal.c:41:13:41:16 | call to gets | funcsLocal.c:42:9:42:10 | i6 |
3632
| funcsLocal.c:41:13:41:16 | call to gets | funcsLocal.c:42:9:42:10 | i6 |
3733
| funcsLocal.c:41:13:41:16 | call to gets | funcsLocal.c:42:9:42:10 | i6 |
38-
| funcsLocal.c:41:13:41:16 | call to gets | funcsLocal.c:42:9:42:10 | i6 |
39-
| funcsLocal.c:41:13:41:16 | call to gets | funcsLocal.c:42:9:42:10 | i6 |
4034
| funcsLocal.c:41:18:41:20 | gets output argument | funcsLocal.c:42:9:42:10 | (const char *)... |
4135
| funcsLocal.c:41:18:41:20 | gets output argument | funcsLocal.c:42:9:42:10 | i6 |
4236
| funcsLocal.c:41:18:41:20 | i61 | funcsLocal.c:42:9:42:10 | (const char *)... |
4337
| funcsLocal.c:41:18:41:20 | i61 | funcsLocal.c:42:9:42:10 | i6 |
44-
| funcsLocal.c:42:9:42:10 | i6 | funcsLocal.c:42:9:42:10 | (const char *)... |
45-
| funcsLocal.c:42:9:42:10 | i6 | funcsLocal.c:42:9:42:10 | i6 |
4638
nodes
4739
| funcsLocal.c:16:8:16:9 | fread output argument | semmle.label | fread output argument |
4840
| funcsLocal.c:16:8:16:9 | i1 | semmle.label | i1 |

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

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5,110 +5,66 @@ edges
55
| ifs.c:61:8:61:11 | argv | ifs.c:62:9:62:10 | c7 |
66
| ifs.c:61:8:61:11 | argv | ifs.c:62:9:62:10 | c7 |
77
| ifs.c:61:8:61:11 | argv | ifs.c:62:9:62:10 | c7 |
8-
| ifs.c:61:8:61:11 | argv | ifs.c:62:9:62:10 | c7 |
9-
| ifs.c:61:8:61:11 | argv | ifs.c:62:9:62:10 | c7 |
10-
| ifs.c:62:9:62:10 | c7 | ifs.c:62:9:62:10 | (const char *)... |
11-
| ifs.c:62:9:62:10 | c7 | ifs.c:62:9:62:10 | c7 |
128
| ifs.c:68:8:68:11 | argv | ifs.c:69:9:69:10 | (const char *)... |
139
| ifs.c:68:8:68:11 | argv | ifs.c:69:9:69:10 | (const char *)... |
1410
| ifs.c:68:8:68:11 | argv | ifs.c:69:9:69:10 | c8 |
1511
| ifs.c:68:8:68:11 | argv | ifs.c:69:9:69:10 | c8 |
1612
| ifs.c:68:8:68:11 | argv | ifs.c:69:9:69:10 | c8 |
1713
| ifs.c:68:8:68:11 | argv | ifs.c:69:9:69:10 | c8 |
18-
| ifs.c:68:8:68:11 | argv | ifs.c:69:9:69:10 | c8 |
19-
| ifs.c:68:8:68:11 | argv | ifs.c:69:9:69:10 | c8 |
20-
| ifs.c:69:9:69:10 | c8 | ifs.c:69:9:69:10 | (const char *)... |
21-
| ifs.c:69:9:69:10 | c8 | ifs.c:69:9:69:10 | c8 |
2214
| ifs.c:74:8:74:11 | argv | ifs.c:75:9:75:10 | (const char *)... |
2315
| ifs.c:74:8:74:11 | argv | ifs.c:75:9:75:10 | (const char *)... |
2416
| ifs.c:74:8:74:11 | argv | ifs.c:75:9:75:10 | i1 |
2517
| ifs.c:74:8:74:11 | argv | ifs.c:75:9:75:10 | i1 |
2618
| ifs.c:74:8:74:11 | argv | ifs.c:75:9:75:10 | i1 |
2719
| ifs.c:74:8:74:11 | argv | ifs.c:75:9:75:10 | i1 |
28-
| ifs.c:74:8:74:11 | argv | ifs.c:75:9:75:10 | i1 |
29-
| ifs.c:74:8:74:11 | argv | ifs.c:75:9:75:10 | i1 |
30-
| ifs.c:75:9:75:10 | i1 | ifs.c:75:9:75:10 | (const char *)... |
31-
| ifs.c:75:9:75:10 | i1 | ifs.c:75:9:75:10 | i1 |
3220
| ifs.c:80:8:80:11 | argv | ifs.c:81:9:81:10 | (const char *)... |
3321
| ifs.c:80:8:80:11 | argv | ifs.c:81:9:81:10 | (const char *)... |
3422
| ifs.c:80:8:80:11 | argv | ifs.c:81:9:81:10 | i2 |
3523
| ifs.c:80:8:80:11 | argv | ifs.c:81:9:81:10 | i2 |
3624
| ifs.c:80:8:80:11 | argv | ifs.c:81:9:81:10 | i2 |
3725
| ifs.c:80:8:80:11 | argv | ifs.c:81:9:81:10 | i2 |
38-
| ifs.c:80:8:80:11 | argv | ifs.c:81:9:81:10 | i2 |
39-
| ifs.c:80:8:80:11 | argv | ifs.c:81:9:81:10 | i2 |
40-
| ifs.c:81:9:81:10 | i2 | ifs.c:81:9:81:10 | (const char *)... |
41-
| ifs.c:81:9:81:10 | i2 | ifs.c:81:9:81:10 | i2 |
4226
| ifs.c:86:8:86:11 | argv | ifs.c:87:9:87:10 | (const char *)... |
4327
| ifs.c:86:8:86:11 | argv | ifs.c:87:9:87:10 | (const char *)... |
4428
| ifs.c:86:8:86:11 | argv | ifs.c:87:9:87:10 | i3 |
4529
| ifs.c:86:8:86:11 | argv | ifs.c:87:9:87:10 | i3 |
4630
| ifs.c:86:8:86:11 | argv | ifs.c:87:9:87:10 | i3 |
4731
| ifs.c:86:8:86:11 | argv | ifs.c:87:9:87:10 | i3 |
48-
| ifs.c:86:8:86:11 | argv | ifs.c:87:9:87:10 | i3 |
49-
| ifs.c:86:8:86:11 | argv | ifs.c:87:9:87:10 | i3 |
50-
| ifs.c:87:9:87:10 | i3 | ifs.c:87:9:87:10 | (const char *)... |
51-
| ifs.c:87:9:87:10 | i3 | ifs.c:87:9:87:10 | i3 |
5232
| ifs.c:92:8:92:11 | argv | ifs.c:93:9:93:10 | (const char *)... |
5333
| ifs.c:92:8:92:11 | argv | ifs.c:93:9:93:10 | (const char *)... |
5434
| ifs.c:92:8:92:11 | argv | ifs.c:93:9:93:10 | i4 |
5535
| ifs.c:92:8:92:11 | argv | ifs.c:93:9:93:10 | i4 |
5636
| ifs.c:92:8:92:11 | argv | ifs.c:93:9:93:10 | i4 |
5737
| ifs.c:92:8:92:11 | argv | ifs.c:93:9:93:10 | i4 |
58-
| ifs.c:92:8:92:11 | argv | ifs.c:93:9:93:10 | i4 |
59-
| ifs.c:92:8:92:11 | argv | ifs.c:93:9:93:10 | i4 |
60-
| ifs.c:93:9:93:10 | i4 | ifs.c:93:9:93:10 | (const char *)... |
61-
| ifs.c:93:9:93:10 | i4 | ifs.c:93:9:93:10 | i4 |
6238
| ifs.c:98:8:98:11 | argv | ifs.c:99:9:99:10 | (const char *)... |
6339
| ifs.c:98:8:98:11 | argv | ifs.c:99:9:99:10 | (const char *)... |
6440
| ifs.c:98:8:98:11 | argv | ifs.c:99:9:99:10 | i5 |
6541
| ifs.c:98:8:98:11 | argv | ifs.c:99:9:99:10 | i5 |
6642
| ifs.c:98:8:98:11 | argv | ifs.c:99:9:99:10 | i5 |
6743
| ifs.c:98:8:98:11 | argv | ifs.c:99:9:99:10 | i5 |
68-
| ifs.c:98:8:98:11 | argv | ifs.c:99:9:99:10 | i5 |
69-
| ifs.c:98:8:98:11 | argv | ifs.c:99:9:99:10 | i5 |
70-
| ifs.c:99:9:99:10 | i5 | ifs.c:99:9:99:10 | (const char *)... |
71-
| ifs.c:99:9:99:10 | i5 | ifs.c:99:9:99:10 | i5 |
7244
| ifs.c:105:8:105:11 | argv | ifs.c:106:9:106:10 | (const char *)... |
7345
| ifs.c:105:8:105:11 | argv | ifs.c:106:9:106:10 | (const char *)... |
7446
| ifs.c:105:8:105:11 | argv | ifs.c:106:9:106:10 | i6 |
7547
| ifs.c:105:8:105:11 | argv | ifs.c:106:9:106:10 | i6 |
7648
| ifs.c:105:8:105:11 | argv | ifs.c:106:9:106:10 | i6 |
7749
| ifs.c:105:8:105:11 | argv | ifs.c:106:9:106:10 | i6 |
78-
| ifs.c:105:8:105:11 | argv | ifs.c:106:9:106:10 | i6 |
79-
| ifs.c:105:8:105:11 | argv | ifs.c:106:9:106:10 | i6 |
80-
| ifs.c:106:9:106:10 | i6 | ifs.c:106:9:106:10 | (const char *)... |
81-
| ifs.c:106:9:106:10 | i6 | ifs.c:106:9:106:10 | i6 |
8250
| ifs.c:111:8:111:11 | argv | ifs.c:112:9:112:10 | (const char *)... |
8351
| ifs.c:111:8:111:11 | argv | ifs.c:112:9:112:10 | (const char *)... |
8452
| ifs.c:111:8:111:11 | argv | ifs.c:112:9:112:10 | i7 |
8553
| ifs.c:111:8:111:11 | argv | ifs.c:112:9:112:10 | i7 |
8654
| ifs.c:111:8:111:11 | argv | ifs.c:112:9:112:10 | i7 |
8755
| ifs.c:111:8:111:11 | argv | ifs.c:112:9:112:10 | i7 |
88-
| ifs.c:111:8:111:11 | argv | ifs.c:112:9:112:10 | i7 |
89-
| ifs.c:111:8:111:11 | argv | ifs.c:112:9:112:10 | i7 |
90-
| ifs.c:112:9:112:10 | i7 | ifs.c:112:9:112:10 | (const char *)... |
91-
| ifs.c:112:9:112:10 | i7 | ifs.c:112:9:112:10 | i7 |
9256
| ifs.c:117:8:117:11 | argv | ifs.c:118:9:118:10 | (const char *)... |
9357
| ifs.c:117:8:117:11 | argv | ifs.c:118:9:118:10 | (const char *)... |
9458
| ifs.c:117:8:117:11 | argv | ifs.c:118:9:118:10 | i8 |
9559
| ifs.c:117:8:117:11 | argv | ifs.c:118:9:118:10 | i8 |
9660
| ifs.c:117:8:117:11 | argv | ifs.c:118:9:118:10 | i8 |
9761
| ifs.c:117:8:117:11 | argv | ifs.c:118:9:118:10 | i8 |
98-
| ifs.c:117:8:117:11 | argv | ifs.c:118:9:118:10 | i8 |
99-
| ifs.c:117:8:117:11 | argv | ifs.c:118:9:118:10 | i8 |
100-
| ifs.c:118:9:118:10 | i8 | ifs.c:118:9:118:10 | (const char *)... |
101-
| ifs.c:118:9:118:10 | i8 | ifs.c:118:9:118:10 | i8 |
10262
| ifs.c:123:8:123:11 | argv | ifs.c:124:9:124:10 | (const char *)... |
10363
| ifs.c:123:8:123:11 | argv | ifs.c:124:9:124:10 | (const char *)... |
10464
| ifs.c:123:8:123:11 | argv | ifs.c:124:9:124:10 | i9 |
10565
| ifs.c:123:8:123:11 | argv | ifs.c:124:9:124:10 | i9 |
10666
| ifs.c:123:8:123:11 | argv | ifs.c:124:9:124:10 | i9 |
10767
| ifs.c:123:8:123:11 | argv | ifs.c:124:9:124:10 | i9 |
108-
| ifs.c:123:8:123:11 | argv | ifs.c:124:9:124:10 | i9 |
109-
| ifs.c:123:8:123:11 | argv | ifs.c:124:9:124:10 | i9 |
110-
| ifs.c:124:9:124:10 | i9 | ifs.c:124:9:124:10 | (const char *)... |
111-
| ifs.c:124:9:124:10 | i9 | ifs.c:124:9:124:10 | i9 |
11268
nodes
11369
| ifs.c:61:8:61:11 | argv | semmle.label | argv |
11470
| ifs.c:61:8:61:11 | argv | semmle.label | argv |

cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/TaintedAllocationSize/TaintedAllocationSize.expected

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ edges
55
| test.cpp:39:21:39:24 | argv | test.cpp:42:38:42:44 | tainted |
66
| test.cpp:39:21:39:24 | argv | test.cpp:42:38:42:44 | tainted |
77
| test.cpp:39:21:39:24 | argv | test.cpp:42:38:42:44 | tainted |
8-
| test.cpp:39:21:39:24 | argv | test.cpp:42:38:42:44 | tainted |
9-
| test.cpp:39:21:39:24 | argv | test.cpp:42:38:42:44 | tainted |
108
| test.cpp:39:21:39:24 | argv | test.cpp:43:38:43:63 | ... * ... |
119
| test.cpp:39:21:39:24 | argv | test.cpp:43:38:43:63 | ... * ... |
1210
| test.cpp:39:21:39:24 | argv | test.cpp:43:38:43:63 | ... * ... |
@@ -21,8 +19,6 @@ edges
2119
| test.cpp:39:21:39:24 | argv | test.cpp:48:32:48:35 | size |
2220
| test.cpp:39:21:39:24 | argv | test.cpp:48:32:48:35 | size |
2321
| test.cpp:39:21:39:24 | argv | test.cpp:48:32:48:35 | size |
24-
| test.cpp:39:21:39:24 | argv | test.cpp:48:32:48:35 | size |
25-
| test.cpp:39:21:39:24 | argv | test.cpp:48:32:48:35 | size |
2622
| test.cpp:39:21:39:24 | argv | test.cpp:49:26:49:29 | size |
2723
| test.cpp:39:21:39:24 | argv | test.cpp:49:26:49:29 | size |
2824
| test.cpp:39:21:39:24 | argv | test.cpp:49:26:49:29 | size |
@@ -31,10 +27,6 @@ edges
3127
| test.cpp:39:21:39:24 | argv | test.cpp:52:35:52:60 | ... * ... |
3228
| test.cpp:39:21:39:24 | argv | test.cpp:52:35:52:60 | ... * ... |
3329
| test.cpp:39:21:39:24 | argv | test.cpp:52:35:52:60 | ... * ... |
34-
| test.cpp:42:38:42:44 | tainted | test.cpp:42:38:42:44 | (size_t)... |
35-
| test.cpp:42:38:42:44 | tainted | test.cpp:42:38:42:44 | tainted |
36-
| test.cpp:48:32:48:35 | size | test.cpp:48:32:48:35 | (size_t)... |
37-
| test.cpp:48:32:48:35 | size | test.cpp:48:32:48:35 | size |
3830
| test.cpp:123:18:123:23 | call to getenv | test.cpp:127:24:127:41 | ... * ... |
3931
| test.cpp:123:18:123:23 | call to getenv | test.cpp:127:24:127:41 | ... * ... |
4032
| test.cpp:123:18:123:31 | (const char *)... | test.cpp:127:24:127:41 | ... * ... |
@@ -58,17 +50,13 @@ edges
5850
| test.cpp:227:24:227:29 | call to getenv | test.cpp:229:9:229:18 | (size_t)... |
5951
| test.cpp:227:24:227:29 | call to getenv | test.cpp:229:9:229:18 | local_size |
6052
| test.cpp:227:24:227:29 | call to getenv | test.cpp:229:9:229:18 | local_size |
61-
| test.cpp:227:24:227:29 | call to getenv | test.cpp:229:9:229:18 | local_size |
6253
| test.cpp:227:24:227:29 | call to getenv | test.cpp:235:11:235:20 | (size_t)... |
6354
| test.cpp:227:24:227:29 | call to getenv | test.cpp:237:10:237:19 | (size_t)... |
6455
| test.cpp:227:24:227:37 | (const char *)... | test.cpp:229:9:229:18 | (size_t)... |
6556
| test.cpp:227:24:227:37 | (const char *)... | test.cpp:229:9:229:18 | local_size |
6657
| test.cpp:227:24:227:37 | (const char *)... | test.cpp:229:9:229:18 | local_size |
67-
| test.cpp:227:24:227:37 | (const char *)... | test.cpp:229:9:229:18 | local_size |
6858
| test.cpp:227:24:227:37 | (const char *)... | test.cpp:235:11:235:20 | (size_t)... |
6959
| test.cpp:227:24:227:37 | (const char *)... | test.cpp:237:10:237:19 | (size_t)... |
70-
| test.cpp:229:9:229:18 | local_size | test.cpp:229:9:229:18 | (size_t)... |
71-
| test.cpp:229:9:229:18 | local_size | test.cpp:229:9:229:18 | local_size |
7260
| test.cpp:235:11:235:20 | (size_t)... | test.cpp:214:23:214:23 | s |
7361
| test.cpp:237:10:237:19 | (size_t)... | test.cpp:220:21:220:21 | s |
7462
| test.cpp:241:2:241:32 | Chi [array content] | test.cpp:279:17:279:20 | get_size output argument [array content] |
@@ -80,14 +68,12 @@ edges
8068
| test.cpp:249:20:249:25 | call to getenv | test.cpp:253:11:253:29 | ... * ... |
8169
| test.cpp:249:20:249:33 | (const char *)... | test.cpp:253:11:253:29 | ... * ... |
8270
| test.cpp:249:20:249:33 | (const char *)... | test.cpp:253:11:253:29 | ... * ... |
83-
| test.cpp:279:17:279:20 | Chi [array content] | test.cpp:281:11:281:14 | size |
84-
| test.cpp:279:17:279:20 | get_size output argument [array content] | test.cpp:279:17:279:20 | Chi [array content] |
85-
| test.cpp:281:11:281:14 | size | test.cpp:281:11:281:28 | ... * ... |
86-
| test.cpp:281:11:281:14 | size | test.cpp:281:11:281:28 | ... * ... |
87-
| test.cpp:295:18:295:21 | Chi [array content] | test.cpp:298:10:298:13 | size |
88-
| test.cpp:295:18:295:21 | get_size output argument [array content] | test.cpp:295:18:295:21 | Chi [array content] |
89-
| test.cpp:298:10:298:13 | size | test.cpp:298:10:298:27 | ... * ... |
90-
| test.cpp:298:10:298:13 | size | test.cpp:298:10:298:27 | ... * ... |
71+
| test.cpp:279:17:279:20 | Chi | test.cpp:281:11:281:28 | ... * ... |
72+
| test.cpp:279:17:279:20 | Chi | test.cpp:281:11:281:28 | ... * ... |
73+
| test.cpp:279:17:279:20 | get_size output argument [array content] | test.cpp:279:17:279:20 | Chi |
74+
| test.cpp:295:18:295:21 | Chi | test.cpp:298:10:298:27 | ... * ... |
75+
| test.cpp:295:18:295:21 | Chi | test.cpp:298:10:298:27 | ... * ... |
76+
| test.cpp:295:18:295:21 | get_size output argument [array content] | test.cpp:295:18:295:21 | Chi |
9177
| test.cpp:301:19:301:24 | call to getenv | test.cpp:305:11:305:28 | ... * ... |
9278
| test.cpp:301:19:301:24 | call to getenv | test.cpp:305:11:305:28 | ... * ... |
9379
| test.cpp:301:19:301:32 | (const char *)... | test.cpp:305:11:305:28 | ... * ... |
@@ -168,15 +154,13 @@ nodes
168154
| test.cpp:253:11:253:29 | ... * ... | semmle.label | ... * ... |
169155
| test.cpp:253:11:253:29 | ... * ... | semmle.label | ... * ... |
170156
| test.cpp:253:11:253:29 | ... * ... | semmle.label | ... * ... |
171-
| test.cpp:279:17:279:20 | Chi [array content] | semmle.label | Chi [array content] |
157+
| test.cpp:279:17:279:20 | Chi | semmle.label | Chi |
172158
| test.cpp:279:17:279:20 | get_size output argument [array content] | semmle.label | get_size output argument [array content] |
173-
| test.cpp:281:11:281:14 | size | semmle.label | size |
174159
| test.cpp:281:11:281:28 | ... * ... | semmle.label | ... * ... |
175160
| test.cpp:281:11:281:28 | ... * ... | semmle.label | ... * ... |
176161
| test.cpp:281:11:281:28 | ... * ... | semmle.label | ... * ... |
177-
| test.cpp:295:18:295:21 | Chi [array content] | semmle.label | Chi [array content] |
162+
| test.cpp:295:18:295:21 | Chi | semmle.label | Chi |
178163
| test.cpp:295:18:295:21 | get_size output argument [array content] | semmle.label | get_size output argument [array content] |
179-
| test.cpp:298:10:298:13 | size | semmle.label | size |
180164
| test.cpp:298:10:298:27 | ... * ... | semmle.label | ... * ... |
181165
| test.cpp:298:10:298:27 | ... * ... | semmle.label | ... * ... |
182166
| test.cpp:298:10:298:27 | ... * ... | semmle.label | ... * ... |

0 commit comments

Comments
 (0)