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 b25d6e5 commit 7c0fbd7Copy full SHA for 7c0fbd7
src/goto-instrument/contracts/dynamic-frames/dfcc.cpp
@@ -483,6 +483,10 @@ void dfcct::transform_goto_model(
483
484
// Define harness as the entry point, overriding any preexisting one.
485
log.status() << "Setting entry point to " << harness_id << messaget::eom;
486
+ // remove the CPROVER start function
487
+ goto_model.symbol_table.erase(
488
+ goto_model.symbol_table.symbols.find(goto_functionst::entry_point()));
489
+ // regenerate the CPROVER start function
490
generate_ansi_c_start_function(
491
utils.get_function_symbol(harness_id),
492
goto_model.symbol_table,
0 commit comments