3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-28 10:51:28 +00:00
Commit graph

560 commits

Author SHA1 Message Date
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
Nikolaj Bjorner
aa913c564c moving more std::map std::set to obj_*, #1529
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-17 04:21:28 -07:00
Nikolaj Bjorner
b12a1caa07 fix build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-16 09:05:44 -07:00
Nikolaj Bjorner
86d3bbe6cb added TODO markers in theory_str.h for moving to obj_map, remove include of stdbool for now
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-16 07:46:27 -07:00
Murphy Berzish
6bb9a82425 experimental axiom-persist for regex conflict clauses 2018-03-15 13:56:44 -04:00
Murphy Berzish
b5471e7fe0 refactor: use c++11 for (part 1) 2018-03-12 20:04:04 -04:00
Murphy Berzish
73f7e301c3 preliminary refactoring to use obj_map 2018-03-12 17:09:55 -04:00
Nikolaj Bjorner
5651d00751 fix #1534
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-12 13:21:31 -07:00
Murphy Berzish
11a339c490 fix include path 2018-03-11 23:26:30 -04:00
Murphy Berzish
49b810e00f Merge branch 'master' into regex-develop 2018-03-11 23:18:55 -04:00
Nikolaj Bjorner
6e87622c8a remove references to deprecated uses of PROOF_MODE #1531
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-10 13:55:01 -05:00
Murphy Berzish
bf6975122b integrate contains and indexof in theory_str 2018-03-08 12:37:44 -05:00
Murphy Berzish
d1407e843d Merge branch 'issue1379' of github.com:mtrberzi/z3 into issue1379 2018-03-07 18:16:17 -05:00
Murphy Berzish
a7caa2fd2a remove useless get_assignments in theory_str final check 2018-03-07 18:16:11 -05:00
Murphy Berzish
fd6d9a9489 Merge branch 'issue1379' of github.com:/mtrberzi/z3 into issue1379 2018-03-07 13:54:45 -05:00
Murphy Berzish
f43a027447 Merge branch 'develop' into issue1379 2018-03-06 22:14:18 -05:00
Murphy Berzish
ac9b03528a add re.allchar support in z3str3 2018-02-26 17:19:45 -05:00