diff options
author | Denis Efremov <efremov@linux.com> | 2020-06-23 01:10:56 +0300 |
---|---|---|
committer | Julia Lawall <Julia.Lawall@lip6.fr> | 2020-08-04 22:46:58 +0200 |
commit | de50862520480b90ec2fcaed6ad1ad41462fbf30 (patch) | |
tree | 6d2c8bd771e8964fed04e198526d547f74abb7dd /scripts/coccinelle/api/kzfree.cocci | |
parent | 2fbecb7dfefdbe8250a86f92bb81d87deebc0488 (diff) | |
download | lwn-de50862520480b90ec2fcaed6ad1ad41462fbf30.tar.gz lwn-de50862520480b90ec2fcaed6ad1ad41462fbf30.zip |
coccinelle: misc: add array_size_dup script to detect missed overflow checks
Detect an opencoded expression that is used before or after
array_size()/array3_size()/struct_size() to compute the same size.
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Diffstat (limited to 'scripts/coccinelle/api/kzfree.cocci')
0 files changed, 0 insertions, 0 deletions