File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
cpp/ql/test/library-tests/dataflow/dataflow-tests Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -87,4 +87,7 @@ postWithInFlow
87
87
| test.cpp:465:3:465:4 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
88
88
| test.cpp:465:4:465:4 | p [inner post update] | PostUpdateNode should not be the target of local flow. |
89
89
| test.cpp:470:22:470:22 | x [inner post update] | PostUpdateNode should not be the target of local flow. |
90
+ | test.cpp:499:3:499:4 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
91
+ | test.cpp:499:4:499:4 | p [inner post update] | PostUpdateNode should not be the target of local flow. |
92
+ | test.cpp:505:35:505:35 | x [inner post update] | PostUpdateNode should not be the target of local flow. |
90
93
viableImplInCallContextTooLarge
Original file line number Diff line number Diff line change @@ -582,6 +582,13 @@ postWithInFlow
582
582
| test.cpp:489:7:489:7 | VariableAddress [post update] | PostUpdateNode should not be the target of local flow. |
583
583
| test.cpp:491:5:491:5 | x [post update] | PostUpdateNode should not be the target of local flow. |
584
584
| test.cpp:494:5:494:5 | x [post update] | PostUpdateNode should not be the target of local flow. |
585
+ | test.cpp:499:3:499:4 | * ... [post update] | PostUpdateNode should not be the target of local flow. |
586
+ | test.cpp:499:4:499:4 | VariableAddress [post update] | PostUpdateNode should not be the target of local flow. |
587
+ | test.cpp:499:4:499:4 | p [post update] | PostUpdateNode should not be the target of local flow. |
588
+ | test.cpp:504:7:504:7 | VariableAddress [post update] | PostUpdateNode should not be the target of local flow. |
589
+ | test.cpp:505:34:505:35 | & ... [post update] | PostUpdateNode should not be the target of local flow. |
590
+ | test.cpp:505:34:505:35 | & ... [post update] | PostUpdateNode should not be the target of local flow. |
591
+ | test.cpp:505:35:505:35 | x [post update] | PostUpdateNode should not be the target of local flow. |
585
592
| true_upon_entry.cpp:9:7:9:7 | VariableAddress [post update] | PostUpdateNode should not be the target of local flow. |
586
593
| true_upon_entry.cpp:10:12:10:12 | VariableAddress [post update] | PostUpdateNode should not be the target of local flow. |
587
594
| true_upon_entry.cpp:10:27:10:27 | VariableAddress [post update] | PostUpdateNode should not be the target of local flow. |
Original file line number Diff line number Diff line change @@ -494,3 +494,14 @@ void regression_with_phi_flow(int clean1) {
494
494
x = source ();
495
495
}
496
496
}
497
+
498
+ int intOutparamSourceMissingReturn (int *p) {
499
+ *p = source ();
500
+ // return deliberately omitted to test IR dataflow behavior
501
+ }
502
+
503
+ void viaOutparamMissingReturn () {
504
+ int x = 0 ;
505
+ intOutparamSourceMissingReturn (&x);
506
+ sink (x); // $ ast,ir
507
+ }
You can’t perform that action at this time.
0 commit comments