[Cocci] Having rules span multiple files

Luis R. Rodriguez mcgrof at kernel.org
Wed Nov 29 22:51:21 CET 2017


On Wed, Nov 29, 2017 at 10:28:43PM +0100, Julia Lawall wrote:
> Anohter option is to create a file with lists of file names that should be
> considered together.  So you could have:
> 
> a/foo.c
> a/xyz.c
> 
> b/bar.c
> b/mno.c
> b/zzz.c
> 
> Then use --file-groups with the name of this file.

Ah, now we just need something which given a directory or config option
infers the number of associated files to that config option. :)

  Luis


More information about the Cocci mailing list