File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
cpp/ql/test/library-tests/dataflow/taint-tests Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ void test_copy_assignment_operator()
62
62
63
63
y = x;
64
64
65
- sink (y.data1 ); // tainted [FALSE NEGATIVE in IR]
65
+ sink (y.data1 ); // tainted
66
66
sink (x.data1 ); // tainted
67
67
68
68
IntWrapper::Class z1, z2;
@@ -86,7 +86,7 @@ void test_move_assignment_operator()
86
86
87
87
y = std::move (x);
88
88
89
- sink (y.data1 ); // tainted [FALSE NEGATIVE in IR]
89
+ sink (y.data1 ); // tainted
90
90
sink (x.data1 ); // tainted
91
91
}
92
92
@@ -99,5 +99,5 @@ void test_move_constructor()
99
99
100
100
IntWrapper::Class move_to (std::move (move_from));
101
101
102
- sink (move_to.data1 ); // tainted [FALSE NEGATIVE in IR]
102
+ sink (move_to.data1 ); // tainted
103
103
}
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ void test_copy_assignment_operator()
62
62
63
63
y = x;
64
64
65
- sink (y.data1 ); // tainted [FALSE NEGATIVE in IR]
65
+ sink (y.data1 ); // tainted
66
66
sink (x.data1 ); // tainted
67
67
68
68
IntWrapper::Class z1, z2;
@@ -86,7 +86,7 @@ void test_move_assignment_operator()
86
86
87
87
y = std::move (x);
88
88
89
- sink (y.data1 ); // tainted [FALSE NEGATIVE in IR]
89
+ sink (y.data1 ); // tainted
90
90
sink (x.data1 ); // tainted
91
91
}
92
92
@@ -99,5 +99,5 @@ void test_move_constructor()
99
99
100
100
IntWrapper::Class move_to (std::move (move_from));
101
101
102
- sink (move_to.data1 ); // tainted [FALSE NEGATIVE in IR]
102
+ sink (move_to.data1 ); // tainted
103
103
}
You can’t perform that action at this time.
0 commit comments