| 132 | } |
| 133 | |
| 134 | static void div_ub(const expr &a, const expr &b, State &s, bool sign) { |
| 135 | s.addPre(b != 0); |
| 136 | if (sign) |
| 137 | s.addPre(a != expr::IntSMin(b.bits()) || b != -1); |
| 138 | } |
| 139 | |
| 140 | StateValue ConstantBinOp::toSMT(State &s) const { |
| 141 | auto &[a, ap] = s[lhs]; |