|
ESBMC
Efficient SMT-based Context-Bounded Model Checker
|
#include <goto-programs/read_cbmc_goto_object.h>#include <util/irep/irep.h>#include <string>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| struct | cbmc_adapted_resultt |
| Result of adapting a CBMC parse into ESBMC irep conventions. More... | |
Functions | |
| cbmc_adapted_resultt | adapt_cbmc_to_esbmc (cbmc_parse_resultt parsed) |
| Rewrites CBMC irep conventions into ESBMC's. | |
| unsigned | map_cbmc_instruction_type (unsigned cbmc_type) |
| Maps a CBMC goto-program instruction-type value onto the matching ESBMC goto_program_instruction_typet value. | |
| cbmc_adapted_resultt adapt_cbmc_to_esbmc | ( | cbmc_parse_resultt | parsed | ) |
Rewrites CBMC irep conventions into ESBMC's.
Faithful port of goto-transcoder's adapter.rs (ESBMCParseResult::from(CBMCParseResult)).
| unsigned map_cbmc_instruction_type | ( | unsigned | cbmc_type | ) |
Maps a CBMC goto-program instruction-type value onto the matching ESBMC goto_program_instruction_typet value.
CBMC and ESBMC share the goto_program_instruction_typet numbering for every kind that reaches a finished straight-line/control-flow binary, so those map by identity. The kinds that diverge are handled explicitly:
cbmc_type is a raw CBMC instruction-type value; the return value is the ESBMC enumerator.