linux-hardened/scripts/coccinelle
Nicolas Palix afc48a82fa Coccinelle: Add iterators/itnull.cocci
Many iterators have the property that the first argument is always bound
to a real list element, never NULL.  False positives arise for some
iterators that do not have this property, or in cases when the loop
cursor is reassigned.  The latter should only happen when the matched
code is on the way to a loop exit (break, goto, or return).

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-08-31 11:37:53 +02:00
..
alloc Add scripts/coccinelle/alloc/kzalloc-simple.cocci 2010-06-12 00:00:29 +02:00
iterators Coccinelle: Add iterators/itnull.cocci 2010-08-31 11:37:53 +02:00
locks Coccinelle: Add locks/mini_lock.cocci 2010-08-31 11:37:53 +02:00
null Coccinelle: Move deref_null.cocci to a more appropriate directory 2010-08-31 11:37:53 +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