db: record if the DB is missing information
commit80158ca6d7920340ba86d5af318c40f814ccd74a
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 16 Sep 2020 11:18:15 +0000 (16 14:18 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 16 Sep 2020 11:18:15 +0000 (16 14:18 +0300)
treef6a16b70bca364a553185b139344865300a1f5e5
parent8ac1e271288e9a59dc4e8f58e7a115d7b07521db
db: record if the DB is missing information

Sometimes we haven't built the DB so when we get the return states it's
empty.  For check_unwind.c that can cause a problem because that means
that we might not see the release if it's in another function.

If the DB is incomplete then ignore that path.

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