mirror of
https://github.com/Z3Prover/z3
synced 2025-07-21 11:52:05 +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) {
|
std::function<bool(lpvar, unsigned)> find_index = [&,this](lpvar v, unsigned idx) {
|
||||||
cell* c = m_use_lists[v].m_head;
|
cell* c = m_use_lists[v].m_head;
|
||||||
cell* c0 = c;
|
cell* c0 = c;
|
||||||
|
if (!c)
|
||||||
|
return false;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
do {
|
do {
|
||||||
found |= c->m_index == idx;
|
found |= c->m_index == idx;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue