Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e4fdf69

Browse files
author
Dave Bartolomeo
committed
Accept improved test results
1 parent 4814dcf commit e4fdf69

3 files changed

Lines changed: 86 additions & 128 deletions

File tree

cpp/ql/test/library-tests/dataflow/taint-tests/taint.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
| map.cpp:77:9:77:14 | second | map.cpp:66:37:66:42 | call to source |
4949
| map.cpp:78:7:78:7 | k | map.cpp:66:37:66:42 | call to source |
5050
| map.cpp:81:7:81:7 | l | map.cpp:66:37:66:42 | call to source |
51+
| map.cpp:87:34:87:38 | first | map.cpp:87:17:87:22 | call to source |
5152
| map.cpp:89:7:89:32 | call to pair | map.cpp:89:24:89:29 | call to source |
53+
| map.cpp:91:34:91:39 | second | map.cpp:91:24:91:29 | call to source |
5254
| map.cpp:110:10:110:15 | call to insert | map.cpp:110:62:110:67 | call to source |
5355
| map.cpp:112:10:112:25 | call to insert_or_assign | map.cpp:112:46:112:51 | call to source |
5456
| map.cpp:114:7:114:8 | call to map | map.cpp:108:39:108:44 | call to source |

cpp/ql/test/library-tests/dataflow/taint-tests/test_diff.expected

Lines changed: 11 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
| arrayassignment.cpp:146:7:146:13 | arrayassignment.cpp:144:12:144:17 | IR only |
1616
| copyableclass.cpp:67:11:67:11 | copyableclass.cpp:67:13:67:18 | AST only |
1717
| copyableclass.cpp:67:11:67:21 | copyableclass.cpp:67:13:67:18 | IR only |
18-
| copyableclass_declonly.cpp:42:8:42:9 | copyableclass_declonly.cpp:34:30:34:35 | AST only |
1918
| copyableclass_declonly.cpp:67:11:67:11 | copyableclass_declonly.cpp:67:13:67:18 | AST only |
2019
| map.cpp:49:9:49:13 | map.cpp:48:37:48:42 | IR only |
2120
| map.cpp:54:9:54:13 | map.cpp:48:37:48:42 | IR only |
@@ -26,23 +25,10 @@
2625
| map.cpp:76:9:76:13 | map.cpp:66:37:66:42 | IR only |
2726
| map.cpp:79:9:79:13 | map.cpp:66:37:66:42 | IR only |
2827
| map.cpp:80:9:80:14 | map.cpp:66:37:66:42 | IR only |
28+
| map.cpp:87:34:87:38 | map.cpp:87:17:87:22 | AST only |
2929
| map.cpp:90:34:90:38 | map.cpp:90:24:90:29 | IR only |
30-
| map.cpp:91:34:91:39 | map.cpp:91:24:91:29 | IR only |
3130
| map.cpp:108:7:108:54 | map.cpp:108:39:108:44 | IR only |
3231
| map.cpp:111:7:111:48 | map.cpp:111:34:111:39 | IR only |
33-
| map.cpp:114:7:114:8 | map.cpp:108:39:108:44 | AST only |
34-
| map.cpp:116:7:116:8 | map.cpp:110:62:110:67 | AST only |
35-
| map.cpp:117:7:117:8 | map.cpp:111:34:111:39 | AST only |
36-
| map.cpp:118:7:118:8 | map.cpp:112:46:112:51 | AST only |
37-
| map.cpp:123:10:123:13 | map.cpp:111:34:111:39 | AST only |
38-
| map.cpp:124:10:124:13 | map.cpp:112:46:112:51 | AST only |
39-
| map.cpp:129:10:129:13 | map.cpp:111:34:111:39 | AST only |
40-
| map.cpp:130:10:130:13 | map.cpp:112:46:112:51 | AST only |
41-
| map.cpp:137:7:137:8 | map.cpp:108:39:108:44 | AST only |
42-
| map.cpp:138:7:138:8 | map.cpp:108:39:108:44 | AST only |
43-
| map.cpp:139:7:139:8 | map.cpp:108:39:108:44 | AST only |
44-
| map.cpp:140:10:140:13 | map.cpp:108:39:108:44 | AST only |
45-
| map.cpp:141:10:141:13 | map.cpp:108:39:108:44 | AST only |
4632
| map.cpp:155:12:155:16 | map.cpp:108:39:108:44 | IR only |
4733
| map.cpp:156:12:156:17 | map.cpp:108:39:108:44 | IR only |
4834
| map.cpp:161:12:161:16 | map.cpp:108:39:108:44 | IR only |
@@ -52,44 +38,10 @@
5238
| map.cpp:184:7:184:31 | map.cpp:108:39:108:44 | IR only |
5339
| map.cpp:185:7:185:32 | map.cpp:108:39:108:44 | IR only |
5440
| map.cpp:187:7:187:32 | map.cpp:108:39:108:44 | IR only |
55-
| map.cpp:193:7:193:9 | map.cpp:191:49:191:54 | AST only |
56-
| map.cpp:196:7:196:9 | map.cpp:192:49:192:54 | AST only |
57-
| map.cpp:199:7:199:9 | map.cpp:191:49:191:54 | AST only |
58-
| map.cpp:200:7:200:9 | map.cpp:191:49:191:54 | AST only |
59-
| map.cpp:201:7:201:9 | map.cpp:192:49:192:54 | AST only |
60-
| map.cpp:202:7:202:9 | map.cpp:192:49:192:54 | AST only |
61-
| map.cpp:210:7:210:9 | map.cpp:206:49:206:54 | AST only |
62-
| map.cpp:213:7:213:9 | map.cpp:209:49:209:54 | AST only |
63-
| map.cpp:216:7:216:9 | map.cpp:206:49:206:54 | AST only |
64-
| map.cpp:218:7:218:9 | map.cpp:209:49:209:54 | AST only |
65-
| map.cpp:219:7:219:9 | map.cpp:209:49:209:54 | AST only |
66-
| map.cpp:225:7:225:9 | map.cpp:223:49:223:54 | AST only |
67-
| map.cpp:225:7:225:9 | map.cpp:224:49:224:54 | AST only |
68-
| map.cpp:227:7:227:9 | map.cpp:223:49:223:54 | AST only |
69-
| map.cpp:227:7:227:9 | map.cpp:224:49:224:54 | AST only |
70-
| map.cpp:229:7:229:9 | map.cpp:223:49:223:54 | AST only |
71-
| map.cpp:229:7:229:9 | map.cpp:224:49:224:54 | AST only |
7241
| map.cpp:235:7:235:40 | map.cpp:235:26:235:31 | IR only |
73-
| map.cpp:236:7:236:9 | map.cpp:235:26:235:31 | AST only |
74-
| map.cpp:240:7:240:9 | map.cpp:239:44:239:49 | AST only |
7542
| map.cpp:246:7:246:44 | map.cpp:246:30:246:35 | IR only |
76-
| map.cpp:247:7:247:9 | map.cpp:246:30:246:35 | AST only |
77-
| map.cpp:251:7:251:9 | map.cpp:250:43:250:48 | AST only |
7843
| map.cpp:260:7:260:54 | map.cpp:260:39:260:44 | IR only |
7944
| map.cpp:263:7:263:48 | map.cpp:263:34:263:39 | IR only |
80-
| map.cpp:266:7:266:8 | map.cpp:260:39:260:44 | AST only |
81-
| map.cpp:268:7:268:8 | map.cpp:262:62:262:67 | AST only |
82-
| map.cpp:269:7:269:8 | map.cpp:263:34:263:39 | AST only |
83-
| map.cpp:270:7:270:8 | map.cpp:264:46:264:51 | AST only |
84-
| map.cpp:275:10:275:13 | map.cpp:263:34:263:39 | AST only |
85-
| map.cpp:276:10:276:13 | map.cpp:264:46:264:51 | AST only |
86-
| map.cpp:281:10:281:13 | map.cpp:263:34:263:39 | AST only |
87-
| map.cpp:282:10:282:13 | map.cpp:264:46:264:51 | AST only |
88-
| map.cpp:289:7:289:8 | map.cpp:260:39:260:44 | AST only |
89-
| map.cpp:290:7:290:8 | map.cpp:260:39:260:44 | AST only |
90-
| map.cpp:291:7:291:8 | map.cpp:260:39:260:44 | AST only |
91-
| map.cpp:292:10:292:13 | map.cpp:260:39:260:44 | AST only |
92-
| map.cpp:293:10:293:13 | map.cpp:260:39:260:44 | AST only |
9345
| map.cpp:307:12:307:16 | map.cpp:260:39:260:44 | IR only |
9446
| map.cpp:308:12:308:17 | map.cpp:260:39:260:44 | IR only |
9547
| map.cpp:313:12:313:16 | map.cpp:260:39:260:44 | IR only |
@@ -99,93 +51,19 @@
9951
| map.cpp:334:7:334:31 | map.cpp:260:39:260:44 | IR only |
10052
| map.cpp:335:7:335:32 | map.cpp:260:39:260:44 | IR only |
10153
| map.cpp:336:7:336:32 | map.cpp:260:39:260:44 | IR only |
102-
| map.cpp:342:7:342:9 | map.cpp:340:49:340:54 | AST only |
103-
| map.cpp:345:7:345:9 | map.cpp:341:49:341:54 | AST only |
104-
| map.cpp:348:7:348:9 | map.cpp:340:49:340:54 | AST only |
105-
| map.cpp:349:7:349:9 | map.cpp:340:49:340:54 | AST only |
106-
| map.cpp:350:7:350:9 | map.cpp:341:49:341:54 | AST only |
107-
| map.cpp:351:7:351:9 | map.cpp:341:49:341:54 | AST only |
108-
| map.cpp:359:7:359:9 | map.cpp:355:49:355:54 | AST only |
109-
| map.cpp:362:7:362:9 | map.cpp:358:49:358:54 | AST only |
110-
| map.cpp:365:7:365:9 | map.cpp:355:49:355:54 | AST only |
111-
| map.cpp:367:7:367:9 | map.cpp:358:49:358:54 | AST only |
112-
| map.cpp:368:7:368:9 | map.cpp:358:49:358:54 | AST only |
113-
| map.cpp:374:7:374:9 | map.cpp:372:49:372:54 | AST only |
114-
| map.cpp:374:7:374:9 | map.cpp:373:49:373:54 | AST only |
115-
| map.cpp:376:7:376:9 | map.cpp:372:49:372:54 | AST only |
116-
| map.cpp:376:7:376:9 | map.cpp:373:49:373:54 | AST only |
117-
| map.cpp:378:7:378:9 | map.cpp:372:49:372:54 | AST only |
118-
| map.cpp:378:7:378:9 | map.cpp:373:49:373:54 | AST only |
11954
| map.cpp:384:7:384:40 | map.cpp:384:26:384:31 | IR only |
120-
| map.cpp:385:7:385:9 | map.cpp:384:26:384:31 | AST only |
121-
| map.cpp:389:7:389:9 | map.cpp:388:44:388:49 | AST only |
12255
| map.cpp:396:7:396:44 | map.cpp:396:30:396:35 | IR only |
56+
| map.cpp:397:40:397:45 | map.cpp:396:30:396:35 | IR only |
12357
| map.cpp:397:40:397:45 | map.cpp:397:30:397:35 | IR only |
124-
| map.cpp:398:7:398:9 | map.cpp:396:30:396:35 | AST only |
125-
| map.cpp:398:7:398:9 | map.cpp:397:30:397:35 | AST only |
126-
| map.cpp:402:7:402:9 | map.cpp:401:43:401:48 | AST only |
127-
| map.cpp:417:7:417:9 | map.cpp:416:30:416:35 | AST only |
12858
| map.cpp:418:7:418:16 | map.cpp:416:30:416:35 | AST only |
129-
| map.cpp:420:7:420:9 | map.cpp:419:33:419:38 | AST only |
13059
| map.cpp:421:7:421:16 | map.cpp:419:33:419:38 | AST only |
13160
| map.cpp:431:7:431:67 | map.cpp:431:52:431:57 | IR only |
132-
| map.cpp:432:7:432:9 | map.cpp:431:52:431:57 | AST only |
13361
| movableclass.cpp:65:11:65:11 | movableclass.cpp:65:13:65:18 | AST only |
13462
| movableclass.cpp:65:11:65:21 | movableclass.cpp:65:13:65:18 | IR only |
13563
| set.cpp:20:7:20:31 | set.cpp:20:17:20:22 | IR only |
136-
| set.cpp:26:7:26:8 | set.cpp:20:17:20:22 | AST only |
137-
| set.cpp:28:7:28:8 | set.cpp:22:29:22:34 | AST only |
138-
| set.cpp:30:7:30:8 | set.cpp:20:17:20:22 | AST only |
139-
| set.cpp:44:7:44:8 | set.cpp:20:17:20:22 | AST only |
140-
| set.cpp:45:7:45:8 | set.cpp:20:17:20:22 | AST only |
141-
| set.cpp:46:7:46:8 | set.cpp:20:17:20:22 | AST only |
142-
| set.cpp:47:7:47:9 | set.cpp:20:17:20:22 | AST only |
143-
| set.cpp:48:10:48:13 | set.cpp:20:17:20:22 | AST only |
144-
| set.cpp:49:10:49:13 | set.cpp:20:17:20:22 | AST only |
14564
| set.cpp:61:8:61:11 | set.cpp:20:17:20:22 | IR only |
146-
| set.cpp:78:7:78:9 | set.cpp:76:13:76:18 | AST only |
147-
| set.cpp:81:7:81:9 | set.cpp:77:13:77:18 | AST only |
148-
| set.cpp:84:7:84:9 | set.cpp:76:13:76:18 | AST only |
149-
| set.cpp:85:7:85:9 | set.cpp:76:13:76:18 | AST only |
150-
| set.cpp:86:7:86:9 | set.cpp:77:13:77:18 | AST only |
151-
| set.cpp:87:7:87:9 | set.cpp:77:13:77:18 | AST only |
152-
| set.cpp:95:7:95:9 | set.cpp:91:13:91:18 | AST only |
153-
| set.cpp:98:7:98:9 | set.cpp:94:13:94:18 | AST only |
154-
| set.cpp:101:7:101:9 | set.cpp:91:13:91:18 | AST only |
155-
| set.cpp:104:7:104:9 | set.cpp:94:13:94:18 | AST only |
156-
| set.cpp:110:7:110:9 | set.cpp:108:13:108:18 | AST only |
157-
| set.cpp:110:7:110:9 | set.cpp:109:13:109:18 | AST only |
158-
| set.cpp:112:7:112:9 | set.cpp:108:13:108:18 | AST only |
159-
| set.cpp:112:7:112:9 | set.cpp:109:13:109:18 | AST only |
160-
| set.cpp:114:7:114:9 | set.cpp:108:13:108:18 | AST only |
161-
| set.cpp:114:7:114:9 | set.cpp:109:13:109:18 | AST only |
16265
| set.cpp:134:7:134:31 | set.cpp:134:17:134:22 | IR only |
163-
| set.cpp:140:7:140:8 | set.cpp:134:17:134:22 | AST only |
164-
| set.cpp:142:7:142:8 | set.cpp:136:29:136:34 | AST only |
165-
| set.cpp:144:7:144:8 | set.cpp:134:17:134:22 | AST only |
166-
| set.cpp:158:7:158:8 | set.cpp:134:17:134:22 | AST only |
167-
| set.cpp:159:7:159:8 | set.cpp:134:17:134:22 | AST only |
168-
| set.cpp:160:7:160:8 | set.cpp:134:17:134:22 | AST only |
169-
| set.cpp:161:7:161:9 | set.cpp:134:17:134:22 | AST only |
170-
| set.cpp:162:10:162:13 | set.cpp:134:17:134:22 | AST only |
171-
| set.cpp:163:10:163:13 | set.cpp:134:17:134:22 | AST only |
17266
| set.cpp:175:8:175:11 | set.cpp:134:17:134:22 | IR only |
173-
| set.cpp:190:7:190:9 | set.cpp:188:13:188:18 | AST only |
174-
| set.cpp:193:7:193:9 | set.cpp:189:13:189:18 | AST only |
175-
| set.cpp:196:7:196:9 | set.cpp:188:13:188:18 | AST only |
176-
| set.cpp:197:7:197:9 | set.cpp:188:13:188:18 | AST only |
177-
| set.cpp:198:7:198:9 | set.cpp:189:13:189:18 | AST only |
178-
| set.cpp:199:7:199:9 | set.cpp:189:13:189:18 | AST only |
179-
| set.cpp:207:7:207:9 | set.cpp:203:13:203:18 | AST only |
180-
| set.cpp:210:7:210:9 | set.cpp:206:13:206:18 | AST only |
181-
| set.cpp:213:7:213:9 | set.cpp:203:13:203:18 | AST only |
182-
| set.cpp:216:7:216:9 | set.cpp:206:13:206:18 | AST only |
183-
| set.cpp:222:7:222:9 | set.cpp:220:13:220:18 | AST only |
184-
| set.cpp:222:7:222:9 | set.cpp:221:13:221:18 | AST only |
185-
| set.cpp:224:7:224:9 | set.cpp:220:13:220:18 | AST only |
186-
| set.cpp:224:7:224:9 | set.cpp:221:13:221:18 | AST only |
187-
| set.cpp:226:7:226:9 | set.cpp:220:13:220:18 | AST only |
188-
| set.cpp:226:7:226:9 | set.cpp:221:13:221:18 | AST only |
18967
| smart_pointer.cpp:12:10:12:10 | smart_pointer.cpp:11:52:11:57 | AST only |
19068
| smart_pointer.cpp:24:10:24:10 | smart_pointer.cpp:23:52:23:57 | AST only |
19169
| standalone_iterators.cpp:41:10:41:10 | standalone_iterators.cpp:39:45:39:51 | AST only |
@@ -198,6 +76,10 @@
19876
| string.cpp:46:13:46:17 | string.cpp:14:10:14:15 | AST only |
19977
| string.cpp:70:7:70:8 | string.cpp:62:19:62:24 | AST only |
20078
| string.cpp:126:8:126:11 | string.cpp:120:16:120:21 | IR only |
79+
| string.cpp:145:8:145:14 | string.cpp:142:18:142:23 | IR only |
80+
| string.cpp:146:8:146:14 | string.cpp:142:18:142:23 | IR only |
81+
| string.cpp:147:8:147:14 | string.cpp:142:18:142:23 | IR only |
82+
| string.cpp:150:8:150:20 | string.cpp:150:13:150:18 | IR only |
20183
| string.cpp:162:11:162:11 | string.cpp:155:18:155:23 | AST only |
20284
| string.cpp:166:11:166:11 | string.cpp:166:14:166:19 | AST only |
20385
| string.cpp:167:11:167:11 | string.cpp:166:14:166:19 | AST only |
@@ -210,6 +92,7 @@
21092
| string.cpp:247:10:247:16 | string.cpp:234:17:234:22 | AST only |
21193
| string.cpp:251:10:251:16 | string.cpp:235:11:235:25 | AST only |
21294
| string.cpp:312:9:312:12 | string.cpp:309:16:309:21 | AST only |
95+
| string.cpp:323:7:323:29 | string.cpp:320:16:320:21 | IR only |
21396
| string.cpp:340:7:340:7 | string.cpp:336:9:336:23 | AST only |
21497
| string.cpp:341:7:341:7 | string.cpp:337:12:337:26 | AST only |
21598
| string.cpp:342:7:342:7 | string.cpp:336:9:336:23 | AST only |
@@ -228,9 +111,7 @@
228111
| string.cpp:411:8:411:8 | string.cpp:389:18:389:23 | AST only |
229112
| string.cpp:415:8:415:11 | string.cpp:389:18:389:23 | IR only |
230113
| string.cpp:418:8:418:8 | string.cpp:389:18:389:23 | AST only |
231-
| string.cpp:419:8:419:10 | string.cpp:389:18:389:23 | AST only |
232114
| string.cpp:421:8:421:8 | string.cpp:389:18:389:23 | AST only |
233-
| string.cpp:422:8:422:10 | string.cpp:389:18:389:23 | AST only |
234115
| string.cpp:436:10:436:15 | string.cpp:431:14:431:19 | AST only |
235116
| string.cpp:449:10:449:15 | string.cpp:449:32:449:46 | AST only |
236117
| string.cpp:462:10:462:15 | string.cpp:457:18:457:23 | AST only |
@@ -255,7 +136,9 @@
255136
| stringstream.cpp:35:11:35:11 | stringstream.cpp:29:16:29:21 | AST only |
256137
| stringstream.cpp:39:7:39:9 | stringstream.cpp:33:23:33:28 | AST only |
257138
| stringstream.cpp:41:7:41:9 | stringstream.cpp:29:16:29:21 | AST only |
139+
| stringstream.cpp:43:7:43:15 | stringstream.cpp:32:14:32:19 | IR only |
258140
| stringstream.cpp:44:11:44:13 | stringstream.cpp:33:23:33:28 | AST only |
141+
| stringstream.cpp:45:7:45:15 | stringstream.cpp:34:14:34:19 | IR only |
259142
| stringstream.cpp:46:11:46:13 | stringstream.cpp:29:16:29:21 | AST only |
260143
| stringstream.cpp:56:11:56:13 | stringstream.cpp:56:15:56:29 | AST only |
261144
| stringstream.cpp:57:44:57:46 | stringstream.cpp:57:25:57:39 | AST only |
@@ -265,6 +148,7 @@
265148
| stringstream.cpp:67:7:67:10 | stringstream.cpp:64:36:64:41 | AST only |
266149
| stringstream.cpp:76:11:76:11 | stringstream.cpp:70:32:70:37 | AST only |
267150
| stringstream.cpp:78:11:78:11 | stringstream.cpp:70:32:70:37 | AST only |
151+
| stringstream.cpp:83:7:83:15 | stringstream.cpp:70:32:70:37 | IR only |
268152
| stringstream.cpp:100:11:100:11 | stringstream.cpp:100:31:100:36 | AST only |
269153
| stringstream.cpp:143:11:143:22 | stringstream.cpp:143:14:143:19 | IR only |
270154
| stringstream.cpp:146:11:146:11 | stringstream.cpp:143:14:143:19 | AST only |
@@ -294,13 +178,13 @@
294178
| stringstream.cpp:266:62:266:66 | stringstream.cpp:266:41:266:46 | AST only |
295179
| stringstream.cpp:267:7:267:9 | stringstream.cpp:266:41:266:46 | AST only |
296180
| swap1.cpp:78:12:78:16 | swap1.cpp:69:23:69:23 | AST only |
297-
| swap1.cpp:87:13:87:17 | swap1.cpp:82:16:82:21 | AST only |
298181
| swap1.cpp:88:13:88:17 | swap1.cpp:81:27:81:28 | AST only |
299182
| swap1.cpp:102:12:102:16 | swap1.cpp:93:23:93:23 | AST only |
300183
| swap1.cpp:115:18:115:22 | swap1.cpp:108:23:108:31 | AST only |
301184
| swap1.cpp:129:12:129:16 | swap1.cpp:120:23:120:23 | AST only |
302185
| swap1.cpp:144:12:144:16 | swap1.cpp:135:23:135:23 | AST only |
303186
| swap2.cpp:78:12:78:16 | swap2.cpp:69:23:69:23 | AST only |
187+
| swap2.cpp:87:13:87:17 | swap2.cpp:82:16:82:21 | IR only |
304188
| swap2.cpp:88:13:88:17 | swap2.cpp:81:27:81:28 | AST only |
305189
| swap2.cpp:102:12:102:16 | swap2.cpp:93:23:93:23 | AST only |
306190
| swap2.cpp:115:18:115:22 | swap2.cpp:108:23:108:31 | AST only |
@@ -345,7 +229,6 @@
345229
| vector.cpp:171:13:171:13 | vector.cpp:170:14:170:19 | AST only |
346230
| vector.cpp:180:13:180:13 | vector.cpp:179:14:179:19 | AST only |
347231
| vector.cpp:201:13:201:13 | vector.cpp:200:14:200:19 | AST only |
348-
| vector.cpp:261:8:261:9 | vector.cpp:239:15:239:20 | AST only |
349232
| vector.cpp:286:10:286:13 | vector.cpp:284:15:284:20 | AST only |
350233
| vector.cpp:287:7:287:18 | vector.cpp:284:15:284:20 | AST only |
351234
| vector.cpp:290:7:290:8 | vector.cpp:289:17:289:30 | AST only |

0 commit comments

Comments
 (0)