|
CBMC
|
Include dependency graph for insert_final_assert_false.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | insert_final_assert_falset |
Macros | |
| #define | OPT_INSERT_FINAL_ASSERT_FALSE "(insert-final-assert-false):" |
| #define | HELP_INSERT_FINAL_ASSERT_FALSE |
Functions | |
| bool | insert_final_assert_false (goto_modelt &goto_model, const std::string &function_to_instrument, message_handlert &message_handler) |
Transform a goto program by inserting assert(false) at the end of a given function function_to_instrument. More... | |
Insert final assert false into a function
Definition in file insert_final_assert_false.h.
| #define HELP_INSERT_FINAL_ASSERT_FALSE |
Definition at line 53 of file insert_final_assert_false.h.
| #define OPT_INSERT_FINAL_ASSERT_FALSE "(insert-final-assert-false):" |
Definition at line 50 of file insert_final_assert_false.h.
| bool insert_final_assert_false | ( | goto_modelt & | goto_model, |
| const std::string & | function_to_instrument, | ||
| message_handlert & | message_handler | ||
| ) |
Transform a goto program by inserting assert(false) at the end of a given function function_to_instrument.
The instrumented assert is expected to fail. If it does not then this may indicate inconsistent assumptions.
| goto_model | The goto program to modify. |
| function_to_instrument | Name of the function to instrument. |
| message_handler | Handles logging. |
Definition at line 53 of file insert_final_assert_false.cpp.