[FFmpeg-devel] Code Style and Diagnostic Issues

Soft Works softworkz at hotmail.com
Tue Sep 7 00:33:03 EEST 2021



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Timo Rothenpieler
> Sent: Monday, 6 September 2021 23:13
> To: ffmpeg-devel at ffmpeg.org
> Subject: Re: [FFmpeg-devel] Code Style and Diagnostic Issues
> 
> On 06.09.2021 22:17, Soft Works wrote:
> > Hi,
> >
> > I wonder whether there’s a commonly agreed set of code issues that
> should
> > be checked for, e.g. via clang-diagnostic?
> >
> > This would help with a number of questions I’m wondering about and
> for
> > which it is not possible to derive rules from the existing code
> base.
> > For example: should constant local variables be marked as const,
> should
> > pointer casts be made explicit, etc. ?
> >
> > softworkz
> 
> We're using Coverity for regular static analysis.
> I think Michael can set you up if you want access.

I'd rather be interested in the ruleset being used. Then I could translate
it to clang-diagnostic rules which allow me to see issues right in the
IDE - at least basic ones, probably Coverity goes way beyond that..




More information about the ffmpeg-devel mailing list