buf_size: represent buffer size as a range list instead of a single value
commit805934d8e79ade2d463c6d1a3daeb708ea14a296
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 6 Dec 2013 10:13:21 +0000 (6 13:13 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 6 Dec 2013 10:13:21 +0000 (6 13:13 +0300)
tree99737ee85ce9f4f78abf2316c77177c4f57e2ca1
parentc0a2f8829594cc107ce7d2862ec6f2ce4d5898aa
buf_size: represent buffer size as a range list instead of a single value

It has been often been a problem where in some cases we want to use the
maximum size of the buffer and in some case we want to use the minimum.  So
internally I've changed it to be a range list and we can ask for the min or
max depending on what we want.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_overflow.c
smatch.h
smatch_buf_size.c