CBMC
|
Show the properties. More...
Go to the source code of this file.
Macros | |
#define | OPT_SHOW_PROPERTIES "(show-properties)" |
#define | HELP_SHOW_PROPERTIES " {y--show-properties} \t show the properties, but don't run analysis\n" |
Functions | |
void | show_properties (const goto_modelt &, ui_message_handlert &ui_message_handler) |
void | show_properties (const namespacet &ns, ui_message_handlert &ui_message_handler, const goto_functionst &goto_functions) |
std::optional< source_locationt > | find_property (const irep_idt &property, const goto_functionst &goto_functions) |
Returns a source_locationt that corresponds to the property given by an irep_idt. More... | |
void | convert_properties_json (json_arrayt &json_properties, const namespacet &ns, const irep_idt &identifier, const goto_programt &goto_program) |
Collects the properties in the goto program into a json_arrayt More... | |
Show the properties.
Definition in file show_properties.h.
#define HELP_SHOW_PROPERTIES " {y--show-properties} \t show the properties, but don't run analysis\n" |
Definition at line 30 of file show_properties.h.
#define OPT_SHOW_PROPERTIES "(show-properties)" |
Definition at line 27 of file show_properties.h.
void convert_properties_json | ( | json_arrayt & | json_properties, |
const namespacet & | ns, | ||
const irep_idt & | identifier, | ||
const goto_programt & | goto_program | ||
) |
Collects the properties in the goto program into a json_arrayt
json_properties | JSON array to hold the properties |
ns | namespace |
identifier | function id of the goto program |
goto_program | the goto program |
Definition at line 126 of file show_properties.cpp.
std::optional<source_locationt> find_property | ( | const irep_idt & | property, |
const goto_functionst & | goto_functions | ||
) |
Returns a source_locationt that corresponds to the property given by an irep_idt.
property | irep_idt that identifies property |
goto_functions | program in which to search for the property |
Definition at line 23 of file show_properties.cpp.
void show_properties | ( | const goto_modelt & | goto_model, |
ui_message_handlert & | ui_message_handler | ||
) |
Definition at line 203 of file show_properties.cpp.
void show_properties | ( | const namespacet & | ns, |
ui_message_handlert & | ui_message_handler, | ||
const goto_functionst & | goto_functions | ||
) |
Definition at line 190 of file show_properties.cpp.