extra: don't reset &arguments until the other checks are done
commitd9f4bb125ee4448228f85d2186021a0e7d8d0963
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 26 Apr 2012 12:34:11 +0000 (26 15:34 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 26 Apr 2012 12:34:11 +0000 (26 15:34 +0300)
treeba46d471ab3431cbbfed131b9d5025e457046f77
parent17b73d8c561b4ccd44cafb734e41a5bef59f9d5f
extra: don't reset &arguments until the other checks are done

I wrote a check that wanted to check the value of arg in calls like this:
frob((char *)&arg, 1);
But smatch extra was setting it to unknown before the check could access
it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_list.h
smatch_extra.c
smatch_modification_hooks.c