Go to the documentation of this file.
28 if(location==previous_location)
35 const value_sett &value_set=get_value_set(i_it);
43 for(
const auto &values_entry : view)
50 v_it->second.expr_set();
52 for(value_sett::expr_sett::const_iterator
53 e_it=expr_set.begin();
57 std::string value_str=
73 dest=
xmlt(
"value_set_analysis");
75 for(goto_functionst::function_mapt::const_iterator
82 value_set_analysis.
convert(f_it->second.body, f);
91 dest=
xmlt(
"value_set_analysis");
void convert(const goto_programt &goto_program, xmlt &dest) const
void get_view(V &view) const
Get a view of the elements in the map A view is a list of pairs with the components being const refer...
This template class implements a data-flow analysis which keeps track of what values different variab...
static void escape(const std::string &s, std::ostream &out)
escaping for XML elements
State type in value_set_domaint, used in value-set analysis and goto-symex.
function_mapt function_map
void convert(const goto_functionst &goto_functions, const value_set_analysist &value_set_analysis, xmlt &dest)
void value_sets_to_xml(const std::function< const value_sett &(goto_programt::const_targett)> &get_value_set, const goto_programt &goto_program, xmlt &dest)
std::vector< view_itemt > viewt
View of the key-value pairs in the map.
const std::string & id2string(const irep_idt &d)
xmlt xml(const irep_idt &property_id, const property_infot &property_info)
std::unordered_set< exprt, irep_hash > expr_sett
A collection of goto functions.
A generic container class for the GOTO intermediate representation of one function.
const irep_idt & get_file() const
instructionst::const_iterator const_targett
std::string from_expr(const namespacet &ns, const irep_idt &identifier, const exprt &expr)
#define forall_goto_program_instructions(it, program)
xmlt & new_element(const std::string &key)
valuest values
Stores the LHS ID -> RHS expression set map.