void TritonToZ3Ast::operator()(triton::ast::BvultNode& e) { Z3Result op1 = this->eval(*e.getChilds()[0]); Z3Result op2 = this->eval(*e.getChilds()[1]); z3::expr newexpr = to_expr(this->result.getContext(), Z3_mk_bvult(this->result.getContext(), op1.getExpr(), op2.getExpr())); this->result.setExpr(newexpr); }
z3::expr operator()(const z3::expr& v1, const z3::expr& v2) { return z3::expr(v1.ctx(), Z3_mk_bvult(v1.ctx(), v1, v2)); }