math: for bitwise AND only use it for IMPLIED and ABSOLUTE
commita61eefe217eb4fb7658433350dcb856b1cbbf91f
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 22 May 2013 10:09:33 +0000 (22 13:09 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 22 May 2013 10:09:33 +0000 (22 13:09 +0300)
treea9cbf00ac8b907b69bf9daaf40fbd3e2154f36ba
parent853d1ddc70c0641878b06a2f871743b8870098da
math: for bitwise AND only use it for IMPLIED and ABSOLUTE

Code like this:

__smatch_implied(foo & 0xf);

is "0-15". But:

__smatch_fuzzy_max(foo & 0xf);

should just say it's unknown.  The original sval code it was like this as
well.  Otherwise it causes a lot of array overflow false positives.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_math.c