mirror of
https://github.com/Z3Prover/z3
synced 2025-10-04 06:53:58 +00:00
prevent infinite loop of axiom generation. working StartsWith
This commit is contained in:
parent
c5ffb012dd
commit
4f131ebba7
2 changed files with 17 additions and 0 deletions
|
@ -110,6 +110,11 @@ namespace smt {
|
|||
ptr_vector<enode> m_axiom_CharAt_todo;
|
||||
ptr_vector<enode> m_axiom_StartsWith_todo;
|
||||
|
||||
// hashtable of all exprs for which we've already set up term-specific axioms --
|
||||
// this prevents infinite recursive descent with respect to axioms that
|
||||
// include an occurrence of the term for which axioms are being generated
|
||||
obj_hashtable<expr> axiomatized_terms;
|
||||
|
||||
int tmpStringVarCount;
|
||||
int tmpXorVarCount;
|
||||
int tmpLenTestVarCount;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue