ExprEngine: << and >> are not handled well, throw exception for now.

This commit is contained in:
Daniel Marjamäki 2019-10-14 11:56:39 +02:00
parent c7a56529bb
commit 4e49b14721
1 changed files with 1 additions and 5 deletions

View File

@ -548,11 +548,7 @@ struct ExprData {
return bool_expr(op1) && bool_expr(op2);
if (b->binop == "||")
return bool_expr(op1) || bool_expr(op2);
if (b->binop == "<<")
return z3::shl(op1, op2);
if (b->binop == ">>")
return z3::lshr(op1, op2);
throw VerifyException(nullptr, "Internal error: Unhandled operator");
throw VerifyException(nullptr, "Internal error: Unhandled operator " + b->binop);
}
z3::expr getExpr(ExprEngine::ValuePtr v) {