extra: handle "if (a & 0x1)" conditions
commit0d7fa9754c22e21d1a4c418fcc6b0f43dd213547
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 16 Jul 2013 09:03:05 +0000 (16 12:03 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 16 Jul 2013 09:03:05 +0000 (16 12:03 +0300)
tree44f95381a4b343e75bd4b4018912ff294c2653de
parenta76090a40d27fec84f0da76d40808a4c4fac1152
extra: handle "if (a & 0x1)" conditions

Really we need to handle bit map variables separately and more completely,
but this is an improvement over the current code.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_extra.c
validation/sm_bitwise2.c [new file with mode: 0644]