diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2013-11-07 15:50:30 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-02-14 18:29:35 +0000 |
commit | b6e9a1f1d3d1d1ddd9b5843c47b372352d259a16 (patch) | |
tree | 7554f5927a063cf38af32e15d22fa08f6d3374ff /lib/Solver/STPBuilder.h | |
parent | 7759c90744bae5c531f765b2faa2475e13f464fd (diff) | |
download | klee-b6e9a1f1d3d1d1ddd9b5843c47b372352d259a16.tar.gz |
Fixed overshift of arithmetic right shift by constant 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 eaa41d5c..42ca9eaf 100644 --- a/lib/Solver/STPBuilder.h +++ b/lib/Solver/STPBuilder.h @@ -107,7 +107,7 @@ private: ExprHandle bvVarArithRightShift(ExprHandle expr, ExprHandle shift); ExprHandle constructAShrByConstant(ExprHandle expr, unsigned shift, - ExprHandle isSigned, unsigned shiftBits); + ExprHandle isSigned); ExprHandle constructMulByConstant(ExprHandle expr, unsigned width, uint64_t x); ExprHandle constructUDivByConstant(ExprHandle expr_n, unsigned width, uint64_t d); ExprHandle constructSDivByConstant(ExprHandle expr_n, unsigned width, uint64_t d); |