Re: [Cocci] =~ runtime improvements?

2018-09-27 Thread Julia Lawall
On Thu, 27 Sep 2018, Kees Cook wrote: > Hi, > > This .cocci takes a VERY long time to run against the kernel, and I'd > love to know what I could do to improve it. I assume it's related to > the use of the "=~" operand: > > // Replace multi-factor out-of-line products with array_size() usage.

[Cocci] =~ runtime improvements?

2018-09-27 Thread Kees Cook
Hi, This .cocci takes a VERY long time to run against the kernel, and I'd love to know what I could do to improve it. I assume it's related to the use of the "=~" operand: // Replace multi-factor out-of-line products with array_size() usage. @@ identifier alloc =~ ".*alloc.*"; constant C1, C2,