about summary refs log tree commit diff homepage
path: root/unittests/Solver/Z3SolverTest.cpp
AgeCommit message (Collapse)Author
2024-01-30Change `GetConstraintLog` to work with `std::string`s instead of `char*`sDaniel Schemmel
2024-01-30Avoid generating array names in solver builders that could accidently collideMartin Nowack
If an array name ended with a number, adding a number-only suffix could generate the same name used as part of the solvers. In the specific testcase `val_1` became solver array `val_111` which collided with array `val_11` that became `val_111` as well. Using an `_` as prefix for the suffix, solves that problem in general, i.e. `val_1` becomes `val_1_11` and `val_11` becomes `val_11_1`. Fixes #1668
2023-04-21use unique_ptr all throughout the solver chainDaniel Schemmel
2020-07-01Separate constraint set and constraint managerMartin Nowack
2020-04-07Add unit test for Z3Solver::getConstraintLogDaniel Grumberg