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 11| 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 |
88| 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 |
1010| test.cpp:44:8:44:8 | Load: a | VNLength(InitializeParameter: count) | 0 | ZeroOffset | 2 |
1111| test.cpp:53:10:53:10 | Load: a | VNLength(InitializeParameter: count) | 0 | ZeroOffset | 2 |
1212| test.cpp:56:10:56:10 | Load: a | VNLength(InitializeParameter: count) | 0 | ZeroOffset | 3 |
Original file line number Diff line number Diff line change 1616| inline_assembly.c:10:3:10:7 | Store: ... = ... | positive strictlyPositive |
1717| inline_assembly.c:10:7:10:7 | Constant: (unsigned int)... | positive strictlyPositive |
1818| 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 |
2021| minmax.c:16:9:16:10 | Constant: 1 | positive strictlyPositive |
2122| minmax.c:16:9:16:10 | Store: 1 | positive strictlyPositive |
2223| 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) {
354354 for (std::vector<int >::iterator it = v4.begin (); it != v4.end (); ++it) {
355355 taint_vector_output_iterator (it);
356356 }
357- sink (v4); // $ ast, ir
357+ sink (v4); // $ ast MISSING: ir
358358
359359 std::vector<int >::iterator i5 = v5.begin ();
360360 *i5 = source ();
@@ -389,15 +389,15 @@ void test_vector_output_iterator(int b) {
389389 *i9 = source ();
390390 taint_vector_output_iterator (i9);
391391
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
393393
394394 std::vector<int >::iterator i10 = v10.begin ();
395395 vector_iterator_assign_wrapper (i10, 10 );
396396 sink (v10);
397397
398398 std::vector<int >::iterator i11 = v11.begin ();
399399 vector_iterator_assign_wrapper (i11, source ());
400- sink (v11); // $ ast, ir
400+ sink (v11); // $ ast MISSING: ir
401401
402402 std::vector<int >::iterator i12 = v12.begin ();
403403 *i12++ = 0 ;
You can’t perform that action at this time.
0 commit comments