buf_size: record variable size buffers
commit5da8bd02ede15d134af56fc4070218e441ff4f2b
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 28 Jan 2016 14:35:39 +0000 (28 17:35 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 28 Jan 2016 14:35:39 +0000 (28 17:35 +0300)
treee9ba762ff5b840067be1aa37bc742a6fb43f1f8e
parent07cb24a9e8947d078d6ea4d2805eac8989a8bc26
buf_size: record variable size buffers

Say you have a call:

p = malloc(x);

But you don't know the value of 'x' only the range of values, in the
original code we wouldn't record the buf size but now we record the range
list.

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