diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2013-11-07 15:21:43 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-02-14 18:29:35 +0000 |
commit | 7759c90744bae5c531f765b2faa2475e13f464fd (patch) | |
tree | ab1d0fbb1c4b767369e2c3774a49ca48de69101c /lib/Solver/STPBuilder.h | |
parent | a480b43bf38d4b030d3ceda92549fb721800c026 (diff) | |
download | klee-7759c90744bae5c531f765b2faa2475e13f464fd.tar.gz |
Fixed overshift of arithmetic right shift by symbolic so that it overshifts
to zero. Test case is included.
Diffstat (limited to 'lib/Solver/STPBuilder.h')
-rw-r--r-- | lib/Solver/STPBuilder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Solver/STPBuilder.h b/lib/Solver/STPBuilder.h index 48bddeed..eaa41d5c 100644 --- a/lib/Solver/STPBuilder.h +++ b/lib/Solver/STPBuilder.h @@ -104,7 +104,7 @@ private: ExprHandle bvRightShift(ExprHandle expr, unsigned shift); ExprHandle bvVarLeftShift(ExprHandle expr, ExprHandle shift); ExprHandle bvVarRightShift(ExprHandle expr, ExprHandle shift); - ExprHandle bvVarArithRightShift(ExprHandle expr, ExprHandle amount, unsigned width); + ExprHandle bvVarArithRightShift(ExprHandle expr, ExprHandle shift); ExprHandle constructAShrByConstant(ExprHandle expr, unsigned shift, ExprHandle isSigned, unsigned shiftBits); |