12 #ifndef CPROVER_GOTO_INSTRUMENT_ACCELERATE_SCRATCH_PROGRAM_H
13 #define CPROVER_GOTO_INSTRUMENT_ACCELERATE_SCRATCH_PROGRAM_H
53 std::unique_ptr<statet>
75 satcheck(std::make_unique<satcheckt>(mh)),
static exprt guard(const exprt::operandst &guards, exprt cond)
An interface for a decision procedure for satisfiability problems.
Base class for all expressions.
A collection of goto functions.
A generic container class for the GOTO intermediate representation of one function.
instructionst instructions
The list of instructions in the goto program.
instructionst::iterator targett
std::list< instructiont > instructionst
The main class for the forward symbolic simulator.
const symbol_table_baset & outer_symbol_table
The symbol table associated with the goto-program being executed.
static get_goto_functiont get_goto_function(abstract_goto_modelt &goto_model)
Return a function to get/load a goto function from the given goto model Create a default delegate to ...
path_storaget & path_storage
Symbolic execution paths to be resumed later.
std::unique_ptr< statet > initialize_entry_point_state(const get_goto_functiont &get_goto_function)
Initialize the symbolic execution and the given state with the beginning of the entry point function.
guard_managert & guard_manager
Used to create guards.
std::function< const goto_functionst::goto_functiont &(const irep_idt &)> get_goto_functiont
The type of delegate functions that retrieve a goto_functiont for a particular function identifier.
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
FIFO save queue: paths are resumed in the order that they were saved.
Storage for symbolic execution paths to be resumed later.
goto_functionst functions
scratch_programt(symbol_table_baset &_symbol_table, message_handlert &mh, guard_managert &guard_manager)
bool check_sat(guard_managert &guard_manager)
bool check_sat(bool do_slice, guard_managert &guard_manager)
scratch_program_symext symex
targett assume(const exprt &guard)
void append_loop(goto_programt &program, goto_programt::targett loop_header)
targett assign(const exprt &lhs, const exprt &rhs)
symbol_tablet symex_symbol_table
static optionst get_default_options()
void append(goto_programt::instructionst &instructions)
bool constant_propagation
decision_proceduret * checker
std::unique_ptr< goto_symex_statet > symex_state
symbol_table_baset & symbol_table
exprt eval(const exprt &e)
void append_path(patht &path)
std::unique_ptr< propt > satcheck
symex_target_equationt equation
Decision procedure interface for various SMT 2.x solvers.
The symbol table base class interface.
Inheriting the interface of symex_targett this class represents the SSA form of the input program as ...
Goto Programs with Functions.
std::list< path_nodet > patht
Storage of symbolic execution paths to resume.
This is unused by this implementation of guards, but can be used by other implementations of the same...
std::unique_ptr< statet > initialize_entry_point_state(const get_goto_functiont &get_goto_function)
scratch_program_symext(message_handlert &mh, const symbol_table_baset &outer_symbol_table, symex_target_equationt &_target, const optionst &options, path_storaget &path_storage, guard_managert &guard_manager)
Generate Equation using Symbolic Execution.