3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 17:45:32 +00:00
Commit graph

6372 commits

Author SHA1 Message Date
Nikolaj Bjorner
448cf8c31d fix scope accounting for dom simplifier
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-17 10:14:26 -07:00
Nuno Lopes
4e92caa553 nnf: let's try a different version of compatible frames wo/ copying 2017-10-16 22:33:23 +01:00
Christoph M. Wintersteiger
01f642a6f3 Backward compatibility 2017-10-16 18:19:55 +01:00
Nikolaj Bjorner
019edcb822 frame, again
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:35:00 -07:00
Nikolaj Bjorner
5f9891c235 moving out construction of expr_ref
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:29:26 -07:00
Nikolaj Bjorner
a93f1f88cc trying to fix mac build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:23:50 -07:00
Nikolaj Bjorner
256c9d76d3 add macro for _Exit under WINDOWS
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:14:10 -07:00
Nikolaj Bjorner
b36f512879 Merge branch 'master' of https://github.com/Z3Prover/z3 2017-10-16 09:07:44 -07:00
Christoph M. Wintersteiger
a10ad79f2b Merge branch 'master' of https://github.com/Z3Prover/z3 2017-10-16 17:07:10 +01:00
Christoph M. Wintersteiger
f9adf8e62a Backwards compatibility 2017-10-16 17:07:03 +01:00
Christoph M. Wintersteiger
cda03b4238 Whitespace 2017-10-16 17:01:09 +01:00
Christoph M. Wintersteiger
0169417c64 Merge branch 'master' of https://github.com/Z3Prover/z3 2017-10-16 16:40:39 +01:00
Dan Liew
dbb7f616c1 More LSan workarounds. 2017-10-16 08:56:17 +01:00
Dan Liew
35f6746c60 Workaround regressions/smt2/error.smt2 test timing out.
When ASan's LeakSanitizer is enabled leak checking is triggered
when `exit()` is called and it returns so many false positives that
it takes a long time to write them to the console.

To workaround this we simply call `_Exit()` instead.
2017-10-16 08:56:17 +01:00
Nikolaj Bjorner
b63754e362 adding explicit assignment for auto-generated function.
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-15 21:16:54 -07:00
Nuno Lopes
2905bdebef make vector friendly to gcc < 5 2017-10-16 00:54:31 +01:00
Nuno Lopes
6cefb700ac add move constructor to ref_vector 2017-10-16 00:54:31 +01:00
Nuno Lopes
82b25a0608 add move constructor to watch_list 2017-10-16 00:54:31 +01:00
Nuno Lopes
d18e975a49 vector: make expand_vector() less prone to mem leaks by calling the destructors after move 2017-10-16 00:54:30 +01:00
Nuno Lopes
e7f0f3b834 add move constructor to obj_ref 2017-10-16 00:54:30 +01:00
Nuno Lopes
29acec672f nnf: remove ast incref 2017-10-16 00:54:30 +01:00
Nuno Lopes
6c2d0394ac add move constructor to rational 2017-10-16 00:54:30 +01:00
Nuno Lopes
912a729097 fix build of unit tests 2017-10-16 00:54:30 +01:00
Nuno Lopes
468e0207f7 add move constructor to mpf 2017-10-16 00:54:30 +01:00
Nuno Lopes
d1c13f17b0 remove noexcept since MSVC 2012 doest support it 2017-10-16 00:54:30 +01:00
Nuno Lopes
b53d69be18 fpa_rewriter: remove a mpq copy 2017-10-16 00:54:30 +01:00
Nuno Lopes
3cc6dd1cbd bv_decl_plugin: remove mem allocation 2017-10-16 00:54:29 +01:00
Nuno Lopes
d30a099cd0 fix crash in vector::expand() 2017-10-16 00:54:29 +01:00
Nuno Lopes
27e84c5ffc mpz.h: fix typo in previous commit (found by Nikolaj) 2017-10-16 00:54:29 +01:00
Nuno Lopes
9b54b4e784 fix vector<> to support non-POD types
adjust code to std::move and avoid unnecessary/illegal
2017-10-16 00:54:29 +01:00
Nikolaj Bjorner
4d1acadabb fix leaks reported in #1309
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-15 09:56:21 -07:00
Nikolaj Bjorner
44be1501ff Merge branch 'master' of https://github.com/z3prover/z3 2017-10-14 11:59:18 -07:00
Nikolaj Bjorner
7f8a7c3d83 fix the fixme of #1307
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-14 11:59:09 -07:00
Nikolaj Bjorner
f79cd8f0bc unused variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-13 10:58:42 -07:00
Nikolaj Bjorner
5b6472f022 change nullptr to 0
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-13 10:54:29 -07:00
Murphy Berzish
7b536e910e take shortcuts during binary search length testing when length is known from integer theory 2017-10-13 11:39:33 -04:00
Nikolaj Bjorner
40dfdb6606 bypass UBSan error warnings by using nullptr as error handler. Has same no-op effect. Issue #1287 2017-10-13 07:38:04 -07:00
Nikolaj Bjorner
c12439fe1e fix #1306
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-13 07:29:16 -07:00
Nikolaj Bjorner
8b280b1f64 Merge branch 'master' of https://github.com/Z3Prover/z3 2017-10-12 14:34:13 -07:00
Nikolaj Bjorner
8cf0c94e5f address some ASan leaks
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-12 14:34:04 -07:00
Nikolaj Bjorner
6ecd77d91c Merge branch 'master' of https://github.com/z3prover/z3 2017-10-12 14:17:57 -07:00
Nikolaj Bjorner
3554554533 command to exit tests early
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-12 14:17:52 -07:00
Nikolaj Bjorner
d338fab4f6 fix #1305
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-12 13:58:14 -07:00
Nikolaj Bjorner
11f1a81d7b disable failing unit tests
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-12 10:12:37 -07:00
Nikolaj Bjorner
6a09040a8e Merge branch 'master' of https://github.com/Z3Prover/z3 2017-10-12 07:39:38 -07:00
Nikolaj Bjorner
da2b876acb fix #1303
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-12 07:39:27 -07:00
Dan Liew
a3b109cc14 [ASan] Fix some leaks reported in the small object allocator
test.
2017-10-11 19:40:16 +01:00
Nikolaj Bjorner
c093e6d4b9 harden a few API methods against longjumps in set_error. Memory leak exposed in #1297
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-11 09:53:02 -07:00
Nikolaj Bjorner
09ea370ea3 update C-example that fails to not use longjumps. Issue #1297
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-10 12:06:19 -07:00
Nikolaj Bjorner
7f693186a0 trying to address leak reported in #1297
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-10 07:10:04 -07:00