qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help finding Coverity defects for generated Hexagon code


From: Paolo Bonzini
Subject: Re: Help finding Coverity defects for generated Hexagon code
Date: Tue, 23 May 2023 12:29:29 +0200

On Tue, May 23, 2023 at 11:18 AM Peter Maydell <peter.maydell@linaro.org> wrote:
> On Mon, 22 May 2023 at 21:24, Anton Johansson <anjo@rev.ng> wrote:
> > Hi,
> >
> > coverity recently reported some defects in code generated by idef-parser
> > (email attached). These defects are expected and we plan to emit a
> > /* coverity[event_tag] */ comment to disable the specific event triggered.
>
> We don't mark coverity false positives with comments in the
> source. For the free online scanner, we just mark them as
> false positives in the GUI (with an explanation of why they're
> false positives).

They aren't visible in the GUI because the whole "hexagon generated
files" component is marked as not-analyzed; which apparently means it
_is_ analyzed and visible in the emails but not in the GUI.

The event tag for this error should be "dead_error_condition". In
theory, the hexagon generated files could be a good exception to the
rules that we don't mark false positives in the source, but finding
the right line to add the tag can be messy.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]