WSL2-Linux-Kernel/scripts/coccinelle
Nicolas Palix 82c4340b0a Add scripts/coccinelle/deref_null.cocci
Add a Coccinelle file to identify the dereferences of NULL variables

This semantic patch identifies when a variable is known to be NULL
after a test, but it is still dereferenced later.

Signed-off-by: Nicolas Palix <npalix@diku.dk>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2010-06-12 00:00:29 +02:00
..
alloc Add scripts/coccinelle/alloc/kzalloc-simple.cocci 2010-06-12 00:00:29 +02:00
deref_null.cocci Add scripts/coccinelle/deref_null.cocci 2010-06-12 00:00:29 +02:00
err_cast.cocci Add scripts/coccinelle/err_cast.cocci 2010-06-12 00:00:29 +02:00
resource_size.cocci Add scripts/coccinelle/resource_size.cocci 2010-06-12 00:00:29 +02:00