29 if(instruction.is_assert())
32 instruction.source_location().get_bool(
"user-provided");
36 instruction.source_location().get_property_class() !=
"error label") ||
39 instruction.turn_into_skip();
43 else if(instruction.is_assume())
47 instruction.turn_into_skip();
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
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.
bool get_bool_option(const std::string &option) const
static void transform_assertions_assumptions(goto_programt &goto_program, bool enable_assertions, bool enable_built_in_assertions, bool enable_assumptions)
Checks for Errors in C and Java Programs.
void remove_skip(goto_programt &goto_program, goto_programt::targett begin, goto_programt::targett end)
remove unnecessary skip statements