about summary refs log tree commit diff homepage
path: root/lib/Core/SpecialFunctionHandler.cpp
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2018-06-15 10:32:26 +0200
committerCristian Cadar <c.cadar@imperial.ac.uk>2018-07-10 23:26:42 +0100
commitf30de64e0babbcc68e1611ea4f191ca20c80a837 (patch)
tree57499f018cd9cce2e8e1350e4f51aeb3f9d45a24 /lib/Core/SpecialFunctionHandler.cpp
parent44eb0541fa55f4a7a35af9eaa295ef41c46b3af1 (diff)
downloadklee-f30de64e0babbcc68e1611ea4f191ca20c80a837.tar.gz
test: remove undefined behaviour
Shifting negative values is implementation-defined.

Shifting by equal number of the bits as is the size of the type is
undefined.

So fix both of these.

This fixes #911.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Diffstat (limited to 'lib/Core/SpecialFunctionHandler.cpp')
0 files changed, 0 insertions, 0 deletions