File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed
cpp/ql/test/library-tests/dataflow/dataflow-tests Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,10 @@ postWithInFlow
181
181
| test.cpp:1108:4:1108:4 | p [inner post update] | PostUpdateNode should not be the target of local flow. |
182
182
| test.cpp:1109:3:1109:4 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
183
183
| test.cpp:1109:4:1109:4 | p [inner post update] | PostUpdateNode should not be the target of local flow. |
184
+ | test.cpp:1138:3:1138:13 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
185
+ | test.cpp:1138:5:1138:8 | data [inner post update] | PostUpdateNode should not be the target of local flow. |
186
+ | test.cpp:1139:3:1139:7 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
187
+ | test.cpp:1139:4:1139:7 | data [inner post update] | PostUpdateNode should not be the target of local flow. |
184
188
viableImplInCallContextTooLarge
185
189
uniqueParameterNodeAtPosition
186
190
uniqueParameterNodePosition
Original file line number Diff line number Diff line change @@ -132,6 +132,8 @@ astFlow
132
132
| test.cpp:1069:9:1069:14 | call to source | test.cpp:1074:10:1074:10 | i |
133
133
| test.cpp:1069:9:1069:14 | call to source | test.cpp:1082:10:1082:10 | i |
134
134
| test.cpp:1086:12:1086:12 | a | test.cpp:1088:8:1088:9 | & ... |
135
+ | test.cpp:1137:7:1137:10 | data | test.cpp:1140:8:1140:18 | * ... |
136
+ | test.cpp:1138:17:1138:22 | call to source | test.cpp:1140:8:1140:18 | * ... |
135
137
| true_upon_entry.cpp:17:11:17:16 | call to source | true_upon_entry.cpp:21:8:21:8 | x |
136
138
| true_upon_entry.cpp:27:9:27:14 | call to source | true_upon_entry.cpp:29:8:29:8 | x |
137
139
| true_upon_entry.cpp:33:11:33:16 | call to source | true_upon_entry.cpp:39:8:39:8 | x |
Original file line number Diff line number Diff line change @@ -1131,4 +1131,11 @@ void (*dispatch_table[])(int) = {
1131
1131
void test_dispatch_table (int i) {
1132
1132
int x = source ();
1133
1133
dispatch_table[i](x);
1134
+ }
1135
+
1136
+ void test_uncertain_array (int n1, int n2) {
1137
+ int data[10 ];
1138
+ *(data + 1 ) = source ();
1139
+ *data = 0 ;
1140
+ sink (*(data + 1 )); // $ ast=1138:17 ast=1137:7 MISSING: ir
1134
1141
}
Original file line number Diff line number Diff line change 56
56
| test.cpp:796:12:796:12 | a | test.cpp:798:17:798:17 | a |
57
57
| test.cpp:1086:12:1086:12 | a | test.cpp:1087:3:1087:3 | a |
58
58
| test.cpp:1086:12:1086:12 | a | test.cpp:1088:9:1088:9 | a |
59
+ | test.cpp:1137:7:1137:10 | data | test.cpp:1138:5:1138:8 | data |
60
+ | test.cpp:1137:7:1137:10 | data | test.cpp:1139:4:1139:7 | data |
61
+ | test.cpp:1137:7:1137:10 | data | test.cpp:1140:10:1140:13 | data |
You can’t perform that action at this time.
0 commit comments