Skip to content

Commit 517fbd2

Browse files
fix merge conflict in cbmc_parse_options.cpp
Signed-off-by: Lucas Cordeiro <[email protected]>
1 parent c57f663 commit 517fbd2

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/cbmc/cbmc_parse_options.cpp

+25
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,7 @@ bool cbmc_parse_optionst::process_goto_program(
868868
status() << "Generic Property Instrumentation" << eom;
869869
goto_check(ns, options, goto_functions);
870870

871+
<<<<<<< c57f66383a75e4e764b58815c18b87ea2672a756
871872
// full slice?
872873
if(cmdline.isset("full-slice"))
873874
{
@@ -977,6 +978,30 @@ bool cbmc_parse_optionst::process_goto_program(
977978
// remove skips
978979
remove_skip(goto_functions);
979980
goto_functions.update();
981+
982+
// full slice?
983+
if(cmdline.isset("full-slice"))
984+
{
985+
status() << "Performing a full slice" << eom;
986+
remove_virtual_functions(symbol_table,goto_functions);
987+
remove_function_pointers(symbol_table,goto_functions,cmdline.isset("pointer-check"));
988+
remove_returns(symbol_table,goto_functions);
989+
goto_functions.update();
990+
991+
//status() << "Performing full inlining" << eom;
992+
//goto_inline(goto_functions, ns, ui_message_handler);
993+
994+
try
995+
{
996+
full_slicer(goto_functions, ns);
997+
}
998+
999+
catch(const char *error_msg)
1000+
{
1001+
error() << error_msg << eom;
1002+
return 1;
1003+
}
1004+
}
9801005
}
9811006

9821007
catch(const char *e)

0 commit comments

Comments
 (0)