Go to the documentation of this file.
13 #ifndef CPROVER_ANALYSES_ESCAPE_ANALYSIS_H
14 #define CPROVER_ANALYSES_ESCAPE_ANALYSIS_H
62 "If the domain is bottom, all maps must be empty");
70 "If the domain is top, all maps must be empty");
124 const std::set<irep_idt> &,
129 #endif // CPROVER_ANALYSES_ESCAPE_ANALYSIS_H
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
void output(std::ostream &out, const ai_baset &ai, const namespacet &ns) const final override
void make_entry() override final
Make this domain a reasonable entry-point state.
union_find< irep_idt > aliasest
void check_lhs(const exprt &, std::set< irep_idt > &) const
std::set< irep_idt > cleanup_functions
void get_rhs_aliases(const exprt &, std::set< irep_idt > &)
void assign_lhs_cleanup(const exprt &, const std::set< irep_idt > &)
Base class for all expressions.
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
void get_rhs_cleanup(const exprt &, std::set< irep_idt > &)
Expression to hold a symbol (variable)
ai_history_baset::trace_ptrt trace_ptrt
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
void make_top() final override
all states – the analysis doesn't use this, and domains may refuse to implement it.
irep_idt get_function(const exprt &)
virtual void initialize(const goto_functionst &)
Initialize all the abstract states for a whole program.
#define DATA_INVARIANT(CONDITION, REASON)
This condition should be used to document that assumptions that are made on goto_functions,...
bool merge(const escape_domaint &b, trace_ptrt from, trace_ptrt to)
void get_rhs_aliases_address_of(const exprt &, std::set< irep_idt > &)
void make_bottom() final override
no states
bool is_top() const override final
void assign_lhs_aliases(const exprt &, const std::set< irep_idt > &)
void instrument(goto_modelt &)
::goto_functiont goto_functiont
A collection of goto functions.
numberingt< irep_idt > bits
bool is_bottom() const override final
std::map< irep_idt, cleanupt > cleanup_mapt
This is the basic interface of the abstract interpreter with default implementations of the core func...
void insert_cleanup(goto_functionst::goto_functiont &, goto_programt::targett, const exprt &, const std::set< irep_idt > &, bool is_object, const namespacet &)
The interface offered by a domain, allows code to manipulate domains without knowing their exact type...
void transform(const irep_idt &function_from, trace_ptrt trace_from, const irep_idt &function_to, trace_ptrt trace_to, ai_baset &ai, const namespacet &ns) final override
how function calls are treated: a) there is an edge from each call site to the function head b) there...
instructionst::iterator targett
bool is_tracked(const symbol_exprt &)