<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/scripts/coccinelle/misc, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2017-11-21T01:18:39Z</updated>
<entry>
<title>scripts/coccinelle: add some more coccinelle tests</title>
<updated>2017-11-21T01:18:39Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2017-11-10T18:15:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=06feb5d0bf9953c6918d0e35feef64521c5236c4'/>
<id>urn:sha1:06feb5d0bf9953c6918d0e35feef64521c5236c4</id>
<content type='text'>
Add some useful static code analysis scripts for coccinelle
copied from the Linux kernel v4.14-rc8:

Warn on check against NULL before calling free.
scripts/coccinelle/free/ifnullfree.cocci

Detect superfluous NULL check for list iterator.
scripts/coccinelle/iterators/itnull.cocci

Check if list iterator is reassigned.
scripts/coccinelle/iterators/list_entry_update.cocci

Check if list iterator is used after loop.
scripts/coccinelle/iterators/use_after_iter.cocci

Find wrong argument of sizeof in allocation function:
scripts/coccinelle/misc/badty.cocci

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
</feed>
