[<prev] [next>] [day] [month] [year] [list]
Message-ID: <27351b7d-cead-1c83-4ff1-5a94df9adec5@web.de>
Date: Fri, 5 Jun 2020 07:50:18 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Julia Lawall <julia.lawall@...ia.fr>,
Coccinelle <cocci@...teme.lip6.fr>
Cc: Denis Efremov <efremov@...ux.com>, Joe Perches <joe@...ches.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] coccinelle: api: add kzfree script
> On the other hand, do you really require E to be a pointer?
> If you do that, it will have to find the type of E.
I suggest to reconsider this information.
> If E refers to a structure field, then the type might not be available
> in the current function, and you may need command line argments like
> --all-includes or --recursive-includes.
Will the software documentation need corresponding extensions for
the safe application of the semantic patch language?
Will the used data structure access operator like arrow or dot
influence the interpretation of the software situation?
> Is avoiding transforming the case where E is not verified
> to be a pointer a concern?
I would find it desirable to express constraints for pointer data types
according to the applied programming interfaces.
Regards,
Markus
Powered by blists - more mailing lists