13 #ifndef CPROVER_ANALYSES_FLOW_INSENSITIVE_ANALYSIS_H 14 #define CPROVER_ANALYSES_FLOW_INSENSITIVE_ANALYSIS_H 19 #include <unordered_set> 52 typedef std::unordered_set<exprt, irep_hash>
expr_sett;
63 virtual void clear(
void)=0;
150 std::ostream &out)
const;
169 goto_functionst::function_mapt::const_iterator it,
199 const exprt &
function,
207 const goto_functionst::function_mapt::const_iterator f_it,
256 state.get_reference_set(
ns, expr, expr_set);
264 #endif // CPROVER_ANALYSES_FLOW_INSENSITIVE_ANALYSIS_H
std::set< irep_idt > functions_donet
std::map< locationt, unsigned > statistics
exprt get_guard(locationt from, locationt to) const
virtual void get_reference_set(const exprt &expr, expr_sett &expr_set)=0
std::set< locationt > seen_locations
Goto Programs with Functions.
virtual void get_reference_set(const namespacet &, const exprt &, expr_sett &expr_set)
virtual void operator()(const goto_programt &goto_program)
locationt get_next(working_sett &working_set)
functions_donet functions_done
virtual bool transform(const namespacet &ns, locationt from, locationt to)=0
virtual void initialize(const goto_functionst &)
std::unordered_set< exprt, irep_hash > expr_sett
virtual void output(const goto_programt &goto_program, std::ostream &out)
virtual statet & get_state()
bool visit(locationt l, working_sett &working_set, const goto_programt &goto_program, const goto_functionst &goto_functions)
virtual void update(const goto_programt &goto_program)
flow_insensitive_analysis_baset(const namespacet &_ns)
const T & get_data() const
virtual statet & get_state()=0
goto_programt::const_targett locationt
virtual ~flow_insensitive_abstract_domain_baset()
flow_insensitive_abstract_domain_baset::expr_sett expr_sett
flow_insensitive_abstract_domain_baset()
bool do_function_call(locationt l_call, const goto_functionst &goto_functions, const goto_functionst::function_mapt::const_iterator f_it, const exprt::operandst &arguments, statet &new_state)
flow_insensitive_abstract_domain_baset statet
std::set< irep_idt > recursion_sett
instructionst::const_iterator const_targett
goto_programt::const_targett locationt
virtual void clear(void)=0
dstringt has one field, an unsigned integer no which is an index into a static table of strings...
static locationt successor(locationt l)
std::vector< exprt > operandst
A generic container class for the GOTO intermediate representation of one function.
bool seen(const locationt &l)
goto_programt::const_targett locationt
exprt get_return_lhs(locationt to) const
virtual void initialize(const goto_programt &)
Base class for all expressions.
void get_reference_set(const exprt &expr, expr_sett &expr_set)
virtual void initialize(const namespacet &ns)=0
goto_programt & goto_program
flow_insensitive_analysist(const namespacet &_ns)
virtual ~flow_insensitive_analysis_baset()
virtual const statet & get_state() const
bool fixedpoint(const goto_programt &goto_program, const goto_functionst &goto_functions)
virtual void output(const goto_functionst &goto_functions, std::ostream &out)
void put_in_working_set(working_sett &working_set, locationt l)
std::priority_queue< locationt > working_sett
bool do_function_call_rec(locationt l_call, const exprt &function, const exprt::operandst &arguments, statet &new_state, const goto_functionst &goto_functions)
recursion_sett recursion_set
virtual void output(const namespacet &, std::ostream &) const