We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6744d18 commit 5f65669Copy full SHA for 5f65669
headers/wasm/smt_solver.hpp
@@ -170,7 +170,8 @@ inline z3::expr Solver::build_z3_expr(SymVal &sym_val) {
170
171
inline EvalRes eval_sym_expr_by_model(const SymVal &sym, z3::model &model) {
172
auto expr = solver.build_z3_expr(const_cast<SymVal &>(sym));
173
- z3::expr value = model.eval(expr, false);
+ // let z3 decide the value of symbols that are not in the model
174
+ z3::expr value = model.eval(expr, true);
175
// every value is bitvector
176
int width = expr.get_sort().bv_size();
177
return EvalRes(Num(value.get_numeral_int64()), width);
0 commit comments