64bit_shift: find bugs like: u64 foo = 1 << x;
commit01d82ce52451b8d4ca403bf263e3a41ba480843e
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 30 Oct 2014 00:17:43 +0000 (30 03:17 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 30 Oct 2014 00:17:43 +0000 (30 03:17 +0300)
tree9908f0d95040ef5a8c9d9d4c60b37378e4e4f2dd
parent0578e4be4b9f53a107a5058bf077395836c71997
64bit_shift:  find bugs like:  u64 foo = 1 << x;

It's a fairly common to have shift wrapping bugs for 64 bit values.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_64bit_shift.c [new file with mode: 0644]
check_list.h