3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-04-22 20:03:30 +00:00

Fixed crasb if regex is reported SAT by pre-check

This commit is contained in:
CEisenhofer 2026-03-18 16:08:02 +01:00
parent 579ac6bfc4
commit d8a6ea1321
4 changed files with 17 additions and 14 deletions

View file

@ -783,7 +783,7 @@ namespace seq {
// Regex membership module: stabilizers, emptiness checks, language
// inclusion, derivatives. Allocated in the constructor; owned by this graph.
seq::seq_regex* m_seq_regex = nullptr;
seq_regex* m_seq_regex = nullptr;
// -----------------------------------------------
// Modification counter for substitution length tracking.
@ -835,6 +835,8 @@ namespace seq {
nielsen_node* root() const { return m_root; }
void set_root(nielsen_node* n) { m_root = n; }
void set_sat_node(nielsen_node* n) { m_sat_node = n; }
// satisfying leaf node (set by solve() when result is sat)
nielsen_node* sat_node() const { return m_sat_node; }
// path of edges from root to sat_node (set when sat_node is set)