|
static void | unreachable_instructions (const goto_programt &goto_program, dead_mapt &dest) |
|
static void | all_unreachable (const goto_programt &goto_program, dead_mapt &dest) |
|
static void | build_dead_map_from_ai (const goto_programt &goto_program, const ai_baset &ai, dead_mapt &dest) |
|
static void | output_dead_plain (const namespacet &ns, const irep_idt &function_identifier, const goto_programt &goto_program, const dead_mapt &dead_map, std::ostream &os) |
|
static void | add_to_xml (const irep_idt &function_identifier, const goto_programt &goto_program, const dead_mapt &dead_map, xmlt &dest) |
|
static std::optional< std::string > | file_name_string_opt (const source_locationt &source_location) |
|
static void | add_to_json (const namespacet &ns, const irep_idt &function_identifier, const goto_programt &goto_program, const dead_mapt &dead_map, json_arrayt &dest) |
|
void | unreachable_instructions (const goto_modelt &goto_model, const bool json, std::ostream &os) |
|
bool | static_unreachable_instructions (const goto_modelt &goto_model, const ai_baset &ai, const optionst &options, std::ostream &out) |
|
static std::optional< std::string > | line_string_opt (const source_locationt &source_location) |
|
static void | json_output_function (const irep_idt &function, const source_locationt &first_location, const source_locationt &last_location, json_arrayt &dest) |
|
static void | xml_output_function (const irep_idt &function, const source_locationt &first_location, const source_locationt &last_location, xmlt &dest) |
|
static void | list_functions (const goto_modelt &goto_model, const std::unordered_set< irep_idt > &called, const optionst &options, std::ostream &os, bool unreachable) |
|
void | unreachable_functions (const goto_modelt &goto_model, const bool json, std::ostream &os) |
|
void | reachable_functions (const goto_modelt &goto_model, const bool json, std::ostream &os) |
|
std::unordered_set< irep_idt > | compute_called_functions_from_ai (const goto_modelt &goto_model, const ai_baset &ai) |
|
bool | static_unreachable_functions (const goto_modelt &goto_model, const ai_baset &ai, const optionst &options, std::ostream &out) |
|
bool | static_reachable_functions (const goto_modelt &goto_model, const ai_baset &ai, const optionst &options, std::ostream &out) |
|
List all unreachable instructions.
Definition in file unreachable_instructions.cpp.