#include <restrict_function_pointers.h>
|
static void | typecheck_function_pointer_restrictions (const goto_modelt &goto_model, const restrictionst &restrictions) |
|
static restrictionst | merge_function_pointer_restrictions (restrictionst lhs, const restrictionst &rhs) |
|
static restrictionst | parse_function_pointer_restrictions_from_file (const std::list< std::string > &filenames, const goto_modelt &goto_model, message_handlert &message_handler) |
|
static restrictionst | parse_function_pointer_restrictions_from_command_line (const std::list< std::string > &restriction_opts, const goto_modelt &goto_model) |
|
static restrictionst | parse_function_pointer_restrictions (const std::list< std::string > &restriction_opts, const std::string &option, const goto_modelt &goto_model) |
|
static restrictiont | parse_function_pointer_restriction (const std::string &restriction_opt, const std::string &option, const goto_modelt &goto_model) |
|
static std::optional< restrictiont > | get_by_name_restriction (const goto_functiont &goto_function, const function_pointer_restrictionst::restrictionst &by_name_restrictions, const goto_programt::const_targett &location) |
|
static restrictionst | get_function_pointer_by_name_restrictions (const std::list< std::string > &restriction_name_opts, const goto_modelt &goto_model) |
| Get function pointer restrictions from restrictions with named pointers. More...
|
|
◆ restrictionst
◆ restrictiont
◆ from_json()
◆ from_options()
◆ get_by_name_restriction()
◆ get_function_pointer_by_name_restrictions()
Get function pointer restrictions from restrictions with named pointers.
This takes a list of restrictions, with each restriction consisting of a function pointer name, and the list of target functions. That is, each input restriction is of the form <fp-name>/<target>(,<target>)*. The method then returns a restrictionst
object constructed from the given list of restrictions
- Parameters
-
restriction_name_opts | restrictions |
goto_model | goto model with labelled function pointer calls |
- Returns
- function pointer restrictions in the internal format that is understood by other methods in this class
Definition at line 633 of file restrict_function_pointers.cpp.
◆ merge_function_pointer_restrictions()
◆ parse_function_pointer_restriction()
◆ parse_function_pointer_restrictions()
◆ parse_function_pointer_restrictions_from_command_line()
◆ parse_function_pointer_restrictions_from_file()
◆ read_from_file()
◆ to_json()
jsont function_pointer_restrictionst::to_json |
( |
| ) |
const |
◆ typecheck_function_pointer_restrictions()
void function_pointer_restrictionst::typecheck_function_pointer_restrictions |
( |
const goto_modelt & |
goto_model, |
|
|
const restrictionst & |
restrictions |
|
) |
| |
|
staticprotected |
◆ write_to_file()
void function_pointer_restrictionst::write_to_file |
( |
const std::string & |
filename | ) |
const |
◆ restrictions
The documentation for this class was generated from the following files: