3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-03 20:24:36 +00:00
Commit graph

476 commits

Author SHA1 Message Date
Murphy Berzish
4fc64ab578 z3str3: check for and re-internalize str.in.re terms 2019-10-11 09:25:30 -07:00
Nikolaj Bjorner
16dc2788a7 compiler warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-08 12:43:17 -07:00
Murphy Berzish
b0bf2f1792 z3str3: recognize two-argument re.loop 2019-10-07 15:07:10 -07:00
Murphy Berzish
fe7a7fe23f z3str3: fail early on non-string sequence terms 2019-09-30 21:05:41 -07:00
Murphy Berzish
f29b033253 z3str3: add is_var() similar to theory_seq's implementation 2019-09-28 17:45:49 -07:00
Murphy Berzish
1c70bcee69 z3str3: setup uninterpreted functions as though they were string variables 2019-09-28 17:45:49 -07:00
Murphy Berzish
18ba14cff8 Z3str3: fix empty-string contradictions (#2538)
* z3str3: str.indexof second argument can be empty string without causing contradictions

* z3str3: str.indexof second argument can be empty string without causing contradictions

* z3str3: fixups for str.indexof

* z3str3: str.indexof code cleanup
2019-09-07 16:35:20 +03:00
Murphy Berzish
e05596e7e5 z3str3: fix str.indexof with offset (issue #2092) 2019-03-06 11:41:56 -05:00
nilsbecker
ec76efedbe synchronizing with main repository 2019-02-22 00:19:43 +01:00
nilsbecker
28c03ed1de logging support for theory axioms 2019-02-21 19:29:35 +01:00
Nikolaj Bjorner
0d400a5ad6 fix bit2bool bug reported by Jianying Li
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-01-04 07:46:53 -08:00
Nikolaj Bjorner
ea0d253308 fix const-char test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-12-03 11:56:20 -08:00
Bruce Mitchener
2faf5ef995 Remove unused iPos.
This was incremented, but never actually used, so remove it.
2018-11-30 23:13:22 +07:00
Bruce Mitchener
3149d7f7a4 Fix typos. 2018-11-30 22:19:30 +07:00
Nikolaj Bjorner
67f22d8d65 improving performance for length constraints
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-11-29 11:32:52 -08:00
Nikolaj Bjorner
3fe9b76fe5
Merge pull request #1986 from mtrberzi/issue1908
Z3str3: correct str.replace semantics
2018-11-28 13:15:39 -08:00
Murphy Berzish
e76e501216 Z3str3: correct str.replace semantics 2018-11-28 14:42:19 -05:00
Bruce Mitchener
b83d6d77c9 Use nullptr rather than 0/NULL. 2018-11-28 14:57:01 +07:00
Bruce Mitchener
e570940662 Prefer using empty rather than size comparisons. 2018-11-27 21:42:04 +07:00
Bruce Mitchener
56bbed173e Remove usages of Z3_TRUE / Z3_FALSE.
Now that this is all using stdbool.h, we can just use true/false.

For now, we leave the aliases in place in z3_api.h.
2018-11-20 00:25:37 +07:00
Florian Pigorsch
326bf401b9 Fix some spelling errors (mostly in comments). 2018-10-20 17:07:41 +02:00
Murphy Berzish
b2f0051114 Merge remote-tracking branch 'upstream/master' into refactoring-arith 2018-10-02 12:38:40 -04:00
Murphy Berzish
39fbf1e174 Z3str3: don't use arith_value::get_value in get_arith_value 2018-10-02 12:28:53 -04:00
Bruce Mitchener
373b691709 Use 'override' where possible. 2018-10-02 10:26:38 +07:00
Bruce Mitchener
cdfc19a885 Use nullptr. 2018-10-02 09:11:19 +07:00
Murphy Berzish
144b72244e clean up pragmas, Z3str3 refactoring 2018-09-18 16:11:47 -04:00
Murphy Berzish
7e419137b1 Z3str3: refactor regex automata to subroutine, use arith_value 2018-09-17 16:13:34 -04:00
Murphy Berzish
c65dbaea90 z3str3: fix contains-indexof precondition 2018-08-07 15:12:37 -04:00
Murphy Berzish
da41949f69 Merge branch 'develop' of github.com:/mtrberzi/z3 into develop 2018-07-04 12:13:07 -04:00
Nikolaj Bjorner
c3b27903f8 fix #1677
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-18 11:22:01 -07:00
Nikolaj Bjorner
b9637924c4 fix #1662
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-05-30 16:47:17 -07:00
Daniel Schemmel
9c5a0ee810
Remove unnecessary (and confusing) parantheses around variable name in its declaration.
Also fixes GCC warning [-Wparentheses].
2018-05-20 15:34:01 +02:00
Daniel Schemmel
5134c16833
NULL-initialize pointers to help GCC static analyzer Fixes: variable may be used uninitialized 2018-05-19 03:45:05 +02:00
Murphy Berzish
b68a38ff96 fixes for re.loop in theory_str 2018-05-08 14:53:02 -07:00
Murphy Berzish
047f6c558c fix memory leak related to #1575 2018-04-26 16:36:14 -04:00
Nikolaj Bjorner
d939c05e72 fix build warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-04-14 08:27:40 -07:00
Murphy Berzish
3cfb32cd2d fix regex automata leaked memory 2018-04-12 14:35:29 -04:00
Murphy Berzish
27f2b542df remove comment 2018-04-06 12:13:53 -04:00
Murphy Berzish
45f48123e7 add re.plus length enumeration; fix reordering warning 2018-04-06 11:39:08 -04:00
Murphy Berzish
6a3ce301b7 fix collection error 2018-04-03 12:51:03 -04:00
Murphy Berzish
41703a4254 Merge branch 'develop' into regex-develop 2018-04-03 12:31:27 -04:00
Nikolaj Bjorner
abc274e290 merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-20 14:58:12 -07:00
Nikolaj Bjorner
931dbd5933 remove python doc test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-20 13:37:04 -07:00
Murphy Berzish
7759d05efe fix use-after-free 2018-03-19 23:09:07 -04:00
Murphy Berzish
d26eddf776 re-add indexof-contains heuristic 2018-03-19 18:31:26 -04:00
Murphy Berzish
1f4bfcb4e5 fix indexof subterm 2018-03-19 18:10:06 -04:00
Murphy Berzish
5c692dc79d fixups to theory_str indexof and axiom handling loop 2018-03-19 18:06:42 -04:00
Murphy Berzish
84c30e0b60 theory_str fixups for new collections 2018-03-19 17:03:01 -04:00
Murphy Berzish
a988d01537 add const to iterator loops where it can be used 2018-03-19 12:25:44 -04:00
Murphy Berzish
d569485170 Merge remote-tracking branch 'upstream/master' into refactoring 2018-03-19 01:43:18 -04:00