Skip to content

Added concept of core goto language form #7505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/ADR/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ where taken at the time they were, so that future maintainers
can more easily identify constraints that shaped the architecture
of the system and the surrounding infrastructure.

## Core goto form
\subpage core-goto

## Release & Packaging

* \subpage release-process
Expand Down
20 changes: 20 additions & 0 deletions doc/ADR/core_goto.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
\page core-goto Core goto definition

During the analysis of a program CBMC transforms the input program in an intermediate language
called extended goto. Then the tool performs a series of simplifications on the obtained goto
program until the program is given to the solver.

We say that a program is in the **core goto form** when all the extended goto features have
been simplified.

More specifically, a program that is in **core goto form** is one that can be passed to **symex** by
using any solver deriving from `goto_verifiert` without requiring any lowering step.

At the time of writing, verifiers extending `goto_verifiert` are:

* `all_properties_verifier_with_fault_localizationt`,
* `all_properties_verifier_with_trace_storaget`,
* `all_properties_verifiert`,
* `cover_goals_verifier_with_trace_storaget`,
* `stop_on_fail_verifier_with_fault_localizationt`,
* `stop_on_fail_verifiert`.