modification_hooks: pass the modify expression
commit2aabd3b25cb13fb1a1ed46bd72df9e48bbf6ffe1
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jun 2013 07:08:10 +0000 (12 10:08 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jun 2013 07:08:10 +0000 (12 10:08 +0300)
tree1d729b66db9dda37ef6e556dfa51b321b0681113
parent04a9a18862f5b34d6e32769452c243105accb44b
modification_hooks: pass the modify expression

So if it's modified with an assignment then pass the assignment, etc.

The one place where this falls down is if it's modified with an assembly
statement.  I don't care about that for now though.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
22 files changed:
check_check_deref.c
check_container_of.c
check_deref.c
check_deref_check.c
check_dereferences_param.c
check_dev_queue_xmit.c
check_err_ptr_deref.c
check_expects_err_ptr.c
check_free.c
check_memory.c
check_overflow.c
check_param_mapper.c
check_pointer_math.c
check_return_efault.c
check_return_enomem.c
check_snprintf.c
check_wine_filehandles.c
smatch.h
smatch_buf_size.c
smatch_clear_buffer.c
smatch_comparison.c
smatch_modification_hooks.c