Re: [cocci] Matching a specific declarer?

Markus Elfring <[email protected]>
Newsgroups fr.inria.cocci
Message-ID <[email protected]>
>>> but actually stumbled upon the issue in a simpler case: I searched for all occurrences of DEVICE_ATTR_RO(attr) in the Linux kernel,
>>
>> Will it become more interesting to clarify your own source code search approaches?
> 
> Sorry, not sure I understand the question. Is there anything I should do, or should avoid to do, or tell about?

It depends …

It seems that an information source like “Coccinellery” can trigger special questions
for more desirable software behaviour.
Further inspirations are generally possible.


> If I manage to compile meaningful results until next week, I maybe add some words about the code search approach to my LPC talk:
> https://lpc.events/event/19/contributions/2198/

I am curious how experience exchange will evolve also by the means of subsequent conferences.


> You mean better Coccinelle documentation?

I still hope that something can be adjusted here.


> I think it's ok. This list is very responsive and helpful, that more than compensates for gaps in documentation, if any.

Thanks for such a positive feedback.


> Also my use case is in the niche of a niche, so really not demanding anything.

But it seems that your development ideas can push existing limits.


>> It might become also interesting with which delay subsequent software
>> tool revisions will be usable.
> 
> Which revisions of which tool do you mean?

Did you notice the announcement “Coccinelle 1.3.1 release” (for example)?
https://lore.kernel.org/cocci/[email protected]/
https://sympa.inria.fr/sympa/arc/cocci/2025-11/msg00057.html

Regards,
Markus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.