34 incr_loop_id(options.get_option(
"incremental-loop")),
36 options.is_set(
"unwind-max") ? options.get_signed_int_option(
"unwind-max")
39 options.is_set(
"unwind-min") ? options.get_signed_int_option(
"unwind-min")
87 if(!
limit.has_value())
100 <<
" iteration " << unwind;
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
static irep_idt loop_id(const irep_idt &function_id, const instructiont &instruction)
Human-readable loop name.
virtual symbol_tablet symex_with_state(statet &state, const get_goto_functiont &get_goto_functions)
Symbolically execute the entire program starting from entry point.
bool ignore_assertions
If this flag is set to true then assertions will be temporarily ignored by the symbolic executions.
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 ...
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.
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.
messaget log
The messaget to write log messages to.
bool should_pause_symex
Set when states are pushed onto the workqueue If this flag is set at the end of a symbolic execution ...
mstreamt & statistics() const
bool get_bool_option(const std::string &option) const
Storage for symbolic execution paths to be resumed later.
A way of representing nested key/value data.
const unsigned incr_min_unwind
bool resume(const get_goto_functiont &get_goto_function)
Return true if symex can be resumed.
symex_bmc_incremental_one_loopt(message_handlert &, const symbol_tablet &outer_symbol_table, symex_target_equationt &, const optionst &, path_storaget &, guard_managert &, unwindsett &, ui_message_handlert::uit output_ui)
bool from_entry_point_of(const get_goto_functiont &get_goto_function, symbol_tablet &new_symbol_table)
Return true if symex can be resumed.
const unsigned incr_max_unwind
const irep_idt incr_loop_id
void log_unwinding(unsigned unwind)
bool check_break(const irep_idt &loop_id, unsigned unwind) override
Defines condition for interrupting symbolic execution for incremental BMC.
std::unique_ptr< goto_symext::statet > state
bool should_stop_unwind(const symex_targett::sourcet &source, const call_stackt &context, unsigned unwind) override
Determine whether to unwind a loop.
std::vector< loop_unwind_handlert > loop_unwind_handlers
Callbacks that may provide an unwind/do-not-unwind decision for a loop.
Inheriting the interface of symex_targett this class represents the SSA form of the input program as ...
std::optional< unsigned > get_limit(const irep_idt &loop, unsigned thread_id) const
#define INVARIANT(CONDITION, REASON)
This macro uses the wrapper function 'invariant_violated_string'.
This is unused by this implementation of guards, but can be used by other implementations of the same...
static structured_data_entryt data_node(const jsont &data)
Identifies source in the context of symbolic execution.
goto_programt::const_targett pc