mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
convert seg fault to assertion violation #3456
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b964976b3f
commit
4b8a063996
1 changed files with 2 additions and 0 deletions
|
@ -555,6 +555,8 @@ bool emonics::invariant() const {
|
|||
std::function<bool(lpvar, unsigned)> find_index = [&,this](lpvar v, unsigned idx) {
|
||||
cell* c = m_use_lists[v].m_head;
|
||||
cell* c0 = c;
|
||||
if (!c)
|
||||
return false;
|
||||
bool found = false;
|
||||
do {
|
||||
found |= c->m_index == idx;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue