user_data: don't pass *$ as user data if the struct members are known
commite2a33714b1415a3c729173e9de4a0de893907b0a
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 28 Jun 2018 07:14:56 +0000 (28 10:14 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 28 Jun 2018 07:14:56 +0000 (28 10:14 +0300)
tree029b8f3a1ba1377bcb3962617daff0af329471ee
parent7ad58daf3719acbaadaca6bcf3049c934e677958
user_data: don't pass *$ as user data if the struct members are known

Say you have a void pointer or a char pointer.  Then we record that the
data it points to is user data.  But if it's a struct member then we set
all the struct members so we don't need the *$ information any more.  And
that information can be misleading if the struct members are reset to
non-user data.

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