Skip to content

Commit ed9b801

Browse files
execute full-slice after goto_check
Signed-off-by: Lucas Cordeiro <[email protected]>
1 parent fada618 commit ed9b801

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/cbmc/cbmc_parse_options.cpp

+14
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,19 @@ bool cbmc_parse_optionst::process_goto_program(
855855
cmdline.isset("pointer-check"));
856856
remove_virtual_functions(symbol_table, goto_functions);
857857

858+
// do partial inlining
859+
status() << "Partial Inlining" << eom;
860+
goto_partial_inline(goto_functions, ns, ui_message_handler);
861+
862+
// remove returns, gcc vectors, complex
863+
remove_returns(symbol_table, goto_functions);
864+
remove_vector(symbol_table, goto_functions);
865+
remove_complex(symbol_table, goto_functions);
866+
867+
// add generic checks
868+
status() << "Generic Property Instrumentation" << eom;
869+
goto_check(ns, options, goto_functions);
870+
858871
// full slice?
859872
if(cmdline.isset("full-slice"))
860873
{
@@ -875,6 +888,7 @@ bool cbmc_parse_optionst::process_goto_program(
875888
}
876889
}
877890

891+
<<<<<<< fada6185d03028840f415fda8f5ab057218a602c
878892
// do partial inlining
879893
status() << "Partial Inlining" << eom;
880894
goto_partial_inline(goto_functions, ns, ui_message_handler);

0 commit comments

Comments
 (0)