db: get return states from function pointers if possible
commitcdbfdb56b417c388d3478cf7dfef421a3726f207
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 27 May 2014 12:32:02 +0000 (27 15:32 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 27 May 2014 12:32:02 +0000 (27 15:32 +0300)
tree1ac96fdf29204e69f7783bfe97bf74182d382f49
parent4a9515288964b619d6207205f00079bc4ef235cc
db: get return states from function pointers if possible

Sometimes if we call ->foo(a, b, c); and we know which functions implement
->foo() and it doesn't slow anything down to look up the return states then
we should do that.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_data/db/create_db.sh
smatch_data/db/function_ptr.idx
smatch_data/db/function_ptr.schema
smatch_data/db/mark_function_ptrs_searchable.pl [new file with mode: 0755]
smatch_db.c
smatch_function_hooks.c