scripts/coccinelle: add some more coccinelle testsAdd some useful static code analysis scripts for coccinellecopied from the Linux kernel v4.14-rc8:Warn on check against NULL before calling free
scripts/coccinelle: add some more coccinelle testsAdd some useful static code analysis scripts for coccinellecopied from the Linux kernel v4.14-rc8:Warn on check against NULL before calling free.scripts/coccinelle/free/ifnullfree.cocciDetect superfluous NULL check for list iterator.scripts/coccinelle/iterators/itnull.cocciCheck if list iterator is reassigned.scripts/coccinelle/iterators/list_entry_update.cocciCheck if list iterator is used after loop.scripts/coccinelle/iterators/use_after_iter.cocciFind wrong argument of sizeof in allocation function:scripts/coccinelle/misc/badty.cocciSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
show more ...