@@ -57,7 +57,7 @@ void symex_bmct::symex_step(
5757
5858 if (
5959 !state.guard .is_false () && state.source .pc ->is_assume () &&
60- simplify_expr (state.source .pc ->guard , ns).is_false ())
60+ simplify_expr (state.source .pc ->condition () , ns).is_false ())
6161 {
6262 log.statistics () << " aborting path on assume(false) at "
6363 << state.source .pc ->source_location << " thread "
@@ -86,7 +86,7 @@ void symex_bmct::symex_step(
8686 // sure the goto is considered covered
8787 if (
8888 cur_pc->is_goto () && cur_pc->get_target () != state.source .pc &&
89- cur_pc->guard .is_true ())
89+ cur_pc->condition () .is_true ())
9090 symex_coverage.covered (cur_pc, cur_pc->get_target ());
9191 else if (!state.guard .is_false ())
9292 symex_coverage.covered (cur_pc, state.source .pc );
@@ -109,7 +109,7 @@ void symex_bmct::merge_goto(
109109 // could the branch possibly be taken?
110110 !prev_guard.is_false () && !state.guard .is_false () &&
111111 // branches only, no single-successor goto
112- !prev_pc->guard .is_true ())
112+ !prev_pc->condition () .is_true ())
113113 symex_coverage.covered (prev_pc, state.source .pc );
114114}
115115
0 commit comments