forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: diffblue#7866
- Loading branch information
1 parent
74075ec
commit 91380f4
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters