Messages in this thread | | | Date | Mon, 15 Jun 2020 11:23:23 -0700 | From | Kees Cook <> | Subject | Re: [PATCH] coccinelle: misc: add array_size_dup script to detect missed overlow checks |
| |
On Mon, Jun 15, 2020 at 01:20:45PM +0300, Denis Efremov wrote: > Detect an opencoded expression that is used before or after > array_size()/array3_size()/struct_size() to compute the same size. > > Cc: Kees Cook <keescook@chromium.org> > Signed-off-by: Denis Efremov <efremov@linux.com>
Oh, very cool! How much does this find currently?
-- Kees Cook
| |