Commit 91380f4
committed
DFCC instrumentation: ensure programs are well-formed
We must not pass to analyses goto programs that aren't terminated by
END_FUNCTION (i.e., really just sequences of statements). On this
occasion, local_may_aliast was the one relying on well-formedness. We
now make sure that sequences of instructions are terminated by
END_FUNCTION when we pass them around as goto programs.
To catch these kinds of problems in regression tests, amend
check-ubuntu-22_04-cmake-gcc-13 to include standard library assertions.
Fixes: #78661 parent 74075ec commit 91380f4
File tree
2 files changed
+9
-1
lines changed- .github/workflows
- src/goto-instrument/contracts/dynamic-frames
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
| 435 | + | |
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| 581 | + | |
| 582 | + | |
581 | 583 | | |
582 | 584 | | |
583 | 585 | | |
584 | 586 | | |
585 | 587 | | |
| 588 | + | |
| 589 | + | |
586 | 590 | | |
587 | 591 | | |
588 | 592 | | |
| |||
637 | 641 | | |
638 | 642 | | |
639 | 643 | | |
| 644 | + | |
| 645 | + | |
640 | 646 | | |
641 | 647 | | |
642 | 648 | | |
643 | 649 | | |
644 | 650 | | |
| 651 | + | |
| 652 | + | |
645 | 653 | | |
646 | 654 | | |
647 | 655 | | |
| |||
0 commit comments