19#include <unordered_set>
25 for(goto_programt::instructionst::iterator
33 irep_idt property_id = it->source_location().get_property_id();
35 std::unordered_set<irep_idt>::iterator
c_it =
55 for(goto_programt::instructionst::iterator
64 if(it->source_location().is_nil())
67 it->source_location_nonconst().
set_function(function_identifier);
70 irep_idt function = it->source_location().get_function();
73 if(!it->source_location().get_property_class().empty())
79 id2string(it->source_location().get_property_class());
94 std::string property_id=prefix+std::to_string(count);
96 it->source_location_nonconst().set_property_id(property_id);
108 const std::list<std::string> &properties)
115 const std::list<std::string> &properties)
119 property_set.insert(properties.begin(), properties.end());
134 for(goto_functionst::function_mapt::iterator
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.
A collection of goto functions.
function_mapt function_map
goto_functionst goto_functions
GOTO functions.
A generic container class for the GOTO intermediate representation of one function.
instructionst instructions
The list of instructions in the goto program.
Thrown when users pass incorrect command line arguments, for example passing no files to analysis or ...
void set_function(const irep_idt &function)
const std::string & id2string(const irep_idt &d)
void set_properties(goto_programt &goto_program, std::unordered_set< irep_idt > &property_set)
void label_properties(goto_modelt &goto_model)
Set the properties to check.