CBMC
Loading...
Searching...
No Matches
validate_goto_model.h
Go to the documentation of this file.
1/*******************************************************************\
2Module: Validate Goto Programs
3
4Author: Diffblue
5
6Date: Oct 2018
7
8\*******************************************************************/
9
10#ifndef CPROVER_GOTO_PROGRAMS_VALIDATE_GOTO_MODEL_H
11#define CPROVER_GOTO_PROGRAMS_VALIDATE_GOTO_MODEL_H
12
13#include <util/validation_mode.h> // IWYU pragma: keep
14
16{
17public:
18 // this check is disabled by default (not all goto programs
19 // have an entry point)
20 bool entry_point_exists = false;
22
23private:
29
30public:
32
33 enum class set_optionst
34 {
37 };
38
40 {
41 switch(flag_option)
42 {
44 set_all_flags(true);
45 break;
47 set_all_flags(false);
48 break;
49 }
50 }
51};
52
53class goto_functionst;
54
56 const goto_functionst &goto_functions,
57 const validation_modet vm,
59
60#endif // CPROVER_GOTO_PROGRAMS_VALIDATE_GOTO_MODEL_H
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition ai.h:562
A collection of goto functions.
goto_model_validation_optionst(set_optionst flag_option)
void set_all_flags(bool options_value)
void validate_goto_model(const goto_functionst &goto_functions, const validation_modet vm, const goto_model_validation_optionst validation_options)
validation_modet