diff options
author | Luca Dariz <l.dariz@imamoter.cnr.t> | 2014-11-20 12:41:12 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2015-02-13 18:49:49 +0000 |
commit | 714dc22ccb12efdc203e8ce92d6e546ca9ffb157 (patch) | |
tree | cc31c6b8bb0d886d5c86eb93f1517cad8bc326de /lib/Core/SpecialFunctionHandler.h | |
parent | dbe13e13a215aa7212b5737dd8903699301a4940 (diff) | |
download | klee-714dc22ccb12efdc203e8ce92d6e546ca9ffb157.tar.gz |
refactor integer overflow detection, add signed int
Instead of checking for every possible casse which result in overflow, it is much simpler to perform the operation using integers with bigger dimension and check if the result overflow
Diffstat (limited to 'lib/Core/SpecialFunctionHandler.h')
-rw-r--r-- | lib/Core/SpecialFunctionHandler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Core/SpecialFunctionHandler.h b/lib/Core/SpecialFunctionHandler.h index 601b149b..d52b8fc5 100644 --- a/lib/Core/SpecialFunctionHandler.h +++ b/lib/Core/SpecialFunctionHandler.h @@ -135,6 +135,7 @@ namespace klee { HANDLER(handleAddOverflow); HANDLER(handleMulOverflow); HANDLER(handleSubOverflow); + HANDLER(handleDivRemOverflow); #undef HANDLER }; } // End klee namespace |