param_used: ignore some states used to fill the DB
commit7a48786cea55aa513d1c6c520480389ac894a403
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Nov 2020 18:47:20 +0000 (17 21:47 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Nov 2020 18:47:20 +0000 (17 21:47 +0300)
tree482864bef5d0a01a17665df5df831d9a2f59ebf1
parent62f594b0c277b28fc75ce5e074b076affafbb945
param_used: ignore some states used to fill the DB

I have a certain kind of paranoia about the PARAM_USED stuff taking
too much space in the DB.  Things from storing stuff in the DB is not
supposed to be counted as used.

It turns out this code hasn't actually been enabled until now so it isn't
tested but it should be correct.

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