db: function_ptrs: do better at function ptr to function ptr assignments
commit6a3b0d9c1d9ba5f6b19aa89da6ecfa297bd65242
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 3 Apr 2013 10:35:15 +0000 (3 13:35 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 3 Apr 2013 10:35:15 +0000 (3 13:35 +0300)
treedcb9b8572ba5af56b89c7ceafe2441ff35ab0ec9
parentb6a702349657cb4db5599f25ef5844339e491d30
db: function_ptrs: do better at function ptr to function ptr assignments

I thought I was tracking assigments like:

x->func = y->other_func;

But actually it was ignoring function pointers.  Also if there was a cast
to a void pointer (which is common) then the information is lost.

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