We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb617bb commit 7d2be6aCopy full SHA for 7d2be6a
src/cbmc/cbmc_parse_options.cpp
@@ -839,9 +839,9 @@ bool cbmc_parse_optionst::process_goto_program(
839
<< messaget::eom;
840
841
if(
842
- options.is_set(RESTRICT_FUNCTION_POINTER_OPT) ||
843
- options.is_set(RESTRICT_FUNCTION_POINTER_BY_NAME_OPT) ||
844
- options.is_set(RESTRICT_FUNCTION_POINTER_FROM_FILE_OPT))
+ !options.get_list_option(RESTRICT_FUNCTION_POINTER_OPT).empty() ||
+ !options.get_list_option(RESTRICT_FUNCTION_POINTER_BY_NAME_OPT).empty() ||
+ !options.get_list_option(RESTRICT_FUNCTION_POINTER_FROM_FILE_OPT).empty())
845
{
846
label_function_pointer_call_sites(goto_model);
847
auto const by_name_restrictions =
0 commit comments