3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-16 02:00:00 +00:00
z3/src
copilot-swe-agent[bot] f413a24408 Fix API bugs exercised by test/deep_api_bugs.cpp
- api_fpa.cpp: add RETURN_Z3(nullptr) after SET_ERROR_CODE in Z3_mk_fpa_sort to prevent fall-through to mk_float_sort with invalid params
- api_seq.cpp: add null check for str in Z3_mk_string; add null check for str when sz>0 in Z3_mk_lstring; add lo<=hi validation in Z3_mk_re_loop
- api_array.cpp: add explicit n==0 validation in Z3_mk_array_sort_n
- api_solver.cpp: rename local variable 'c' to avoid shadowing Z3_context param in Z3_solver_propagate_created/decide/on_binding; move init_solver call inside file-exists branches of Z3_solver_from_file
- api_ast.cpp: add null check for target in Z3_translate; add null check for _from/_to arrays when num_exprs>0 in Z3_substitute
- api_model.cpp: add CHECK_NON_NULL(m) in Z3_add_func_interp; add CHECK_NON_NULL(a) in Z3_model_get_const_interp; add null check for target in Z3_model_translate
- api_opt.cpp: add null check for weight string in Z3_optimize_assert_soft
- api_quant.cpp: add num_patterns==0 validation in Z3_mk_pattern

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-03-12 22:58:53 +00:00
..
ackermannization Fix off-by-one vulnerabilities: use range-based for on goals; cache loop bound 2026-02-19 22:37:22 +00:00
api Fix API bugs exercised by test/deep_api_bugs.cpp 2026-03-12 22:58:53 +00:00
ast Code simplifications in sls_euf_plugin.cpp and realclosure.cpp 2026-03-10 16:17:24 +00:00
cmd_context Remove redundant default constructors when they're the only constructor (#8461) 2026-02-18 20:58:01 -08:00
math Fix NLA optimization regression and relax restore_x 2026-03-10 16:38:08 -10:00
model Remove redundant default constructors when they're the only constructor (#8461) 2026-02-18 20:58:01 -08:00
muz Refactor sls_euf_plugin.cpp validate_model and add SASSERT in udoc_relation.cpp 2026-03-09 16:57:59 +00:00
nlsat remove an unnecessary template from levelwise 2026-02-25 07:03:23 -10:00
opt Enable som (sum of monomials) in optimizer simplification 2026-03-11 18:28:40 -10:00
params update params 2026-02-19 19:06:06 -08:00
parsers Revert "Refactor find_psort_decl() to return std::optional<psort_decl*> (#8339)" 2026-02-18 20:57:56 -08:00
qe Fix true positive critical bugs from static analysis discussion #8764 2026-02-25 00:41:59 +00:00
sat Fix assertion violation in q_mbi diagnostic output 2026-02-28 11:15:28 -10:00
shell Standardize for-loop increments to prefix form (++i) (#8199) 2026-02-18 20:57:29 -08:00
smt Fix NLA optimization regression and relax restore_x 2026-03-10 16:38:08 -10:00
solver Remove copies (#8583) 2026-02-18 21:02:22 -08:00
tactic Merge pull request #8779 from Z3Prover/copilot/convert-bv1-blast-to-simplifier 2026-02-26 15:52:18 -08:00
test add bugs 2026-03-12 15:18:38 -07:00
util Merge pull request #8944 from Z3Prover/feas 2026-03-12 06:10:26 -10:00
CMakeLists.txt git bindings v1.0 2026-02-18 21:02:25 -08:00