Hi Markus On Wed, 29 Jan 2025 at 09:37, Markus Elfring <Markus.Elfring@xxxxxx> wrote: > > > When running cocci in report mode, eg: > > $make coccicheck M="$dir" MODE=report > > > > It returns this error: > > virtual rule report not supported > > coccicheck failed > > make: *** [Makefile:251: __sub-make] Error 2 > > I hope that more collateral evolution will happen because of such information. > > > > Create a dummy rule to avoid this error and run the other cocci scripts. > > Please add proper support for operation modes around discussed source code analysis approaches. > Will it be more helpful to work with function calls like the following? My main concern is to fix the CI that was broken when this semantic patch was introduced. I am sure that a person more capable on cocci patches can implement the report mode in a follow-up patch. Regards! > > ‣ coccilib.org.print_todo(p[0], "WARNING: opportunity for …") > ‣ coccilib.report.print_report(p[0], "WARNING: opportunity for …") > > > Regards, > Markus -- Ricardo Ribalda