Skip to content

Commit

Permalink
Make exit unreachable a verification failures
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed Oct 22, 2024
1 parent 6dcd392 commit 48d0043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crab_verifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static checks_db generate_report(cfg_t& cfg, const crab::invariant_table_t& pre_

// Check if the exit is unreachable, which could indicate an infinite loop
if (last_inv.is_bottom()) {
m_db.add_unreachable(label_t::exit, "Exit is unreachable.");
m_db.add_warning(label_t::exit, "Exit is unreachable.");
}
}

Expand Down

0 comments on commit 48d0043

Please sign in to comment.