buf_size: big ugly sync with released sources
commitcaf688b5f0b61bfd3b47269ddd90f39369b20920
authorDan Carpenter <dan.carpenter@linaro.org>
Wed, 2 Aug 2023 12:52:40 +0000 (2 15:52 +0300)
committerDan Carpenter <dan.carpenter@linaro.org>
Wed, 2 Aug 2023 12:52:40 +0000 (2 15:52 +0300)
tree4ac1154b1b5038b91c71fa2a4279296455389a18
parent70c42a7008335f5e5db57341a08e6c9aea0b16ff
buf_size: big ugly sync with released sources

I've been running different code from the released code for a long time
and now I've forgotten which bits are important or why the code is the
way it is.

The most ugly part of this is in get_array_size_bytes_rl() where I call
filter_size_rl(ret) and have some dead code...  Sorry!

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
smatch_buf_size.c