Go to the documentation of this file.
32 if(
function.is_hidden())
41 !goto_function.body.instructions.empty() &&
42 goto_function.body.instructions.front().source_location.is_built_in())
59 return function.location.get_file() ==
file_id;
85 std::smatch string_matcher;
86 return std::regex_match(
104 unsigned long count_assignments = 0, count_goto = 0;
109 if((++count_goto) >= 2)
112 else if(i_it->is_assign())
114 if((++count_assignments) >= 5)
117 else if(i_it->is_decl())
bool operator()(const symbolt &identifier, const goto_functionst::goto_functiont &goto_function) const override
Filter out all functions except for one particular function given in the constructor.
bool operator()(const symbolt &identifier, const goto_functionst::goto_functiont &goto_function) const override
Call a goto_program non-trivial if it has:
bool operator()(const symbolt &identifier, const goto_functionst::goto_functiont &goto_function) const override
Filter out all functions except those defined in the file that is given in the constructor.
const std::string & id2string(const irep_idt &d)
#define INITIALIZE_FUNCTION
::goto_functiont goto_functiont
bool operator()(const symbolt &identifier, const goto_functionst::goto_functiont &goto_function) const override
Filter functions whose name matches the regex.
bool operator()(const source_locationt &) const override
Filter goals at source locations considered internal.
const irep_idt & get_file() const
bool has_prefix(const std::string &s, const std::string &prefix)
static irep_idt entry_point()
Get the identifier of the entry point to a goto model.
static bool is_built_in(const std::string &s)
bool operator()(const symbolt &identifier, const goto_functionst::goto_functiont &goto_function) const override
Filter out functions that are not considered provided by the user.
Filters for the Coverage Instrumentation.
#define forall_goto_program_instructions(it, program)