[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b22df436-7bf1-4909-8150-03b65f657a60@web.de>
Date: Fri, 5 Sep 2025 13:14:08 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Julia Lawall <julia.lawall@...ia.fr>, cocci@...ia.fr
Cc: kernel-janitors@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [cocci] [RFC] Sharing data processing resources for selected SmPL
scripts?
>> @display@
>> identifier action;
>> type t;
>> @@
>> *t * action(...)
>> {
>> ... when any
…>> }
>>
>>
>> I interpret such a search approach in the way that it should extract some data
>> from a lot of source code places.
>> Thus I imagine that it results also in special software run time characteristics
>> which matter especially for big codebases like Linux.
>
> I guess it would be quite fast,
I am curious how such development views will evolve further
(depending on the data processing environment you may use).
> because it will just find the deader of
> each function.
Header information should be found for several function implementations
from selected directories.
If you would dare to try the shown SmPL script out on the complete Linux codebase,
a huge diff output will probably be generated.
It might be more helpful to try it out on a few header/source files
with a more reasonable size.
Other data structures might become also more attractive for the storage
and documentation of found pointer types in combination with known functions.
Regards,
Markus
Powered by blists - more mailing lists