Skip to content

Commit e7cc22e

Browse files
author
Daniel Kroening
committed
read_goto_binary does not set the config
Fixes #2949
1 parent f36bc65 commit e7cc22e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/goto-instrument/goto_instrument_parse_options.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,11 +898,13 @@ void goto_instrument_parse_optionst::get_goto_program()
898898
{
899899
status() << "Reading GOTO program from `" << cmdline.args[0] << "'" << eom;
900900

901+
config.set(cmdline);
902+
901903
if(read_goto_binary(cmdline.args[0],
902904
goto_model, get_message_handler()))
903905
throw 0;
904906

905-
config.set(cmdline);
907+
config.set_from_symbol_table(goto_model.symbol_table);
906908
}
907909

908910
void goto_instrument_parse_optionst::instrument_goto_program()

0 commit comments

Comments
 (0)