1
0
Fork 0
alistair23-linux/scripts/coccinelle/null
Julia Lawall 21195f8e9a coccinelle: deref_null: improve performance
Move rules looking for some special cases of safe dereferences before
the collection of NULL-tested values.  The special cases are fairly
rare, but somewhat costly to find, because isomorphisms create many
variants of the rules.  There is thus no need to search for them over
and over for each NULL tested expression.  Collecting them just once
is sufficient and more efficient.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-05-22 23:00:23 +09:00
..
badzero.cocci coccinelle: grep Options and Requires fields more precisely 2017-11-14 23:19:04 +09:00
deref_null.cocci coccinelle: deref_null: improve performance 2018-05-22 23:00:23 +09:00
eno.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
kmerr.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00