C++: Add comment for false positives in swap tests

This commit is contained in:
Robert Marsh
2020-06-16 11:46:14 -07:00
parent 0c99b3644c
commit ef940e815f
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ void test_copy_assignment_operator()
swap(z1, z2);
sink(z2.data1); // tainted
sink(z2.data1); // tainted [FALSE NEGATIVE in IR]
sink(z1.data1); // clean [FALSE POSITIVE]
}

View File

@@ -71,7 +71,7 @@ void test_copy_assignment_operator()
swap(z1, z2);
sink(z2.data1); // tainted
sink(z2.data1); // tainted [FALSE NEGATIVE in IR]
sink(z1.data1); // clean [FALSE POSITIVE]
}