Skip to content

Commit 7e1110c

Browse files
Enable list-goto-functions in goto-instrument
1 parent 0fb4868 commit 7e1110c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/goto-instrument/goto_instrument_parse_options.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -575,10 +575,14 @@ int goto_instrument_parse_optionst::doit()
575575
return CPROVER_EXIT_SUCCESS;
576576
}
577577

578-
if(cmdline.isset("show-goto-functions"))
578+
if(
579+
cmdline.isset("show-goto-functions") ||
580+
cmdline.isset("list-goto-functions"))
579581
{
580-
namespacet ns(goto_model.symbol_table);
581-
show_goto_functions(goto_model, get_ui());
582+
show_goto_functions(
583+
goto_model,
584+
ui_message_handler.get_ui(),
585+
cmdline.isset("list-goto-functions"));
582586
return CPROVER_EXIT_SUCCESS;
583587
}
584588

0 commit comments

Comments
 (0)