We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fce76e2 commit 28ab092Copy full SHA for 28ab092
cpp/ql/test/library-tests/dataflow/taint-tests/standalone_iterators.cpp
@@ -37,15 +37,15 @@ class non_iterator {
37
};
38
39
void test_typedefs(int_iterator_by_typedefs source1) {
40
- sink(*source1);
41
- sink(*(source1++));
42
- sink(*(++source1));
+ sink(*source1); // tainted
+ sink(*(source1++)); // tainted
+ sink(*(++source1)); // tainted
43
}
44
45
void test_trait(int_iterator_by_trait source1) {
46
47
48
49
50
51
void test_non_iterator(non_iterator source1) {
0 commit comments