mirror of
https://github.com/Z3Prover/z3
synced 2025-08-02 09:20:22 +00:00
z3str3: detect and give up when symbolic automaton construction fails (#4384)
typically this will happen due to non-constant terms in a RegLan expression
This commit is contained in:
parent
ccebd4db59
commit
71ea7287bb
3 changed files with 28 additions and 7 deletions
|
@ -8594,7 +8594,10 @@ namespace smt {
|
|||
}
|
||||
}
|
||||
|
||||
solve_regex_automata();
|
||||
if (!solve_regex_automata()) {
|
||||
TRACE("str", tout << "regex engine requested to give up!" << std::endl;);
|
||||
return FC_GIVEUP;
|
||||
}
|
||||
|
||||
bool needToAssignFreeVars = false;
|
||||
expr_ref_vector free_variables(m);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue