Revision tags: v00.04.15, v00.04.14, v00.04.13, v00.04.12, v00.04.11, v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03, v2021.01, v2020.10, v2020.07, v00.02.13, v2020.04, v2020.01, v2019.10, v00.02.05, v00.02.04, v00.02.03, v00.02.02, v00.02.01, v2019.07, v00.02.00, v2019.04, v2018.07, v2018.03, v2018.01, v2017.11 |
|
#
06feb5d0 |
| 10-Nov-2017 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
scripts/coccinelle: add some more coccinelle tests
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: add some more coccinelle tests
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 <xypron.glpk@gmx.de>
show more ...
|