[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7c7b22f8-722c-60f5-db5d-290bea2b499c@linux.com>
Date: Wed, 17 Jun 2020 23:50:30 +0300
From: Denis Efremov <efremov@...ux.com>
To: Julia Lawall <julia.lawall@...ia.fr>
Cc: Kees Cook <keescook@...omium.org>, cocci@...teme.lip6.fr,
linux-kernel@...r.kernel.org
Subject: Re: [Cocci] [PATCH] coccinelle: misc: add array_size_dup script to
detect missed overlow checks
On 6/17/20 11:30 PM, Julia Lawall wrote:
>
>
> On Mon, 15 Jun 2020, Denis Efremov wrote:
>
>> Detect an opencoded expression that is used before or after
>> array_size()/array3_size()/struct_size() to compute the same size.
>
> This would benefit from the assignemnt operator metavariables as well.
>
> Also, it could be better to put the python rules up next the SmPL pattern
> matching rules that they are associated with.
>
Thanks, I will send v2.
Here is the KSPP ticket with patches https://github.com/KSPP/linux/issues/83
Powered by blists - more mailing lists