File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed
experimental/library-tests/rangeanalysis
library-tests/dataflow/taint-tests Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 1
1
| test.cpp:15:8:15:11 | Load: aptr | VNLength(InitializeParameter: count) | 0 | ZeroOffset | 0 |
2
- | test.cpp:19:8:19:8 | Load: a | VNLength(Chi: ptr ) | 0 | ZeroOffset | 0 |
3
- | test.cpp:21:8:21:8 | Load: a | VNLength(Chi: ptr ) | -1 | ZeroOffset | 0 |
4
- | test.cpp:23:8:23:8 | Load: a | VNLength(Chi: ptr ) | 1 | ZeroOffset | 0 |
5
- | test.cpp:27:8:27:8 | Load: c | VNLength(Chi: ptr ) | 0 | ZeroOffset | 0 |
6
- | test.cpp:28:8:28:24 | Convert: (unsigned char *)... | VNLength(Chi: ptr ) | 0 | ZeroOffset | 0 |
7
- | test.cpp:30:8:30:8 | Load: v | VNLength(Chi: ptr ) | 0 | ZeroOffset | 0 |
2
+ | test.cpp:19:8:19:8 | Load: a | VNLength(Load: count ) | 0 | ZeroOffset | 0 |
3
+ | test.cpp:21:8:21:8 | Load: a | VNLength(Load: count ) | -1 | ZeroOffset | 0 |
4
+ | test.cpp:23:8:23:8 | Load: a | VNLength(Load: count ) | 1 | ZeroOffset | 0 |
5
+ | test.cpp:27:8:27:8 | Load: c | VNLength(Load: count ) | 0 | ZeroOffset | 0 |
6
+ | test.cpp:28:8:28:24 | Convert: (unsigned char *)... | VNLength(Load: count ) | 0 | ZeroOffset | 0 |
7
+ | test.cpp:30:8:30:8 | Load: v | VNLength(Load: count ) | 0 | ZeroOffset | 0 |
8
8
| test.cpp:34:8:34:12 | Convert: array to pointer conversion | ZeroLength | 100 | ZeroOffset | 0 |
9
- | test.cpp:37:10:37:10 | Load: b | VNLength(Chi: ptr ) | 0 | ZeroOffset | 0 |
9
+ | test.cpp:37:10:37:10 | Load: b | VNLength(Load: count ) | 0 | ZeroOffset | 0 |
10
10
| test.cpp:44:8:44:8 | Load: a | VNLength(InitializeParameter: count) | 0 | ZeroOffset | 2 |
11
11
| test.cpp:53:10:53:10 | Load: a | VNLength(InitializeParameter: count) | 0 | ZeroOffset | 2 |
12
12
| test.cpp:56:10:56:10 | Load: a | VNLength(InitializeParameter: count) | 0 | ZeroOffset | 3 |
Original file line number Diff line number Diff line change 16
16
| inline_assembly.c:10:3:10:7 | Store: ... = ... | positive strictlyPositive |
17
17
| inline_assembly.c:10:7:10:7 | Constant: (unsigned int)... | positive strictlyPositive |
18
18
| inline_assembly.c:12:32:12:32 | Load: y | positive strictlyPositive |
19
- | inline_assembly.c:21:32:21:32 | Load: y | positive strictlyPositive |
19
+ | inline_assembly.c:21:29:21:29 | Load: x | positive |
20
+ | inline_assembly.c:21:32:21:32 | Load: y | positive |
20
21
| minmax.c:16:9:16:10 | Constant: 1 | positive strictlyPositive |
21
22
| minmax.c:16:9:16:10 | Store: 1 | positive strictlyPositive |
22
23
| minmax.c:16:16:16:17 | Constant: 2 | positive strictlyPositive |
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ void test_vector_output_iterator(int b) {
354
354
for (std::vector<int >::iterator it = v4.begin (); it != v4.end (); ++it) {
355
355
taint_vector_output_iterator (it);
356
356
}
357
- sink (v4); // $ ast, ir
357
+ sink (v4); // $ ast MISSING: ir
358
358
359
359
std::vector<int >::iterator i5 = v5.begin ();
360
360
*i5 = source ();
@@ -389,15 +389,15 @@ void test_vector_output_iterator(int b) {
389
389
*i9 = source ();
390
390
taint_vector_output_iterator (i9);
391
391
392
- sink (v9); // $ ast=330:10 ir=330:10 ir SPURIOUS: ast=389:8 ir =389:8
392
+ sink (v9); // $ ast=330:10 MISSING: ir SPURIOUS: ast=389:8
393
393
394
394
std::vector<int >::iterator i10 = v10.begin ();
395
395
vector_iterator_assign_wrapper (i10, 10 );
396
396
sink (v10);
397
397
398
398
std::vector<int >::iterator i11 = v11.begin ();
399
399
vector_iterator_assign_wrapper (i11, source ());
400
- sink (v11); // $ ast, ir
400
+ sink (v11); // $ ast MISSING: ir
401
401
402
402
std::vector<int >::iterator i12 = v12.begin ();
403
403
*i12++ = 0 ;
You can’t perform that action at this time.
0 commit comments