qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL 0/4] coverity: Improve and extend model
Date: Wed, 11 Feb 2015 19:29:02 +0100	[thread overview]
Message-ID: <54DB9F6E.90700@redhat.com> (raw)
In-Reply-To: <87386cik2b.fsf@blackfin.pond.sub.org>

\>> It seems like Coverity Scan doesn't like the new model.  Possibly the
>> fault of the third patch.
> 
> Works for me with a local 7.0.3 installation.  Which I just realized is
> outdated.  I'll recheck with 7.6.0.
> 
>>                            Will check (for now I'm still running scans
>> with the old model).
> 
> Appreciated.

Yes, the last patch seems to be the culprit.  It failed immediately with
the __coverity_mark_as_afm_freed__(ptr, "g_free") model; it's been
running for a while without it even though it's not done yet.

Perhaps we can do something like this:

/* Some helpful comment here.  */
#if 1
#define AFM_g_free              AFM_free
#else
#define AFM_g_free              "g_free"
#endif

Paolo

  reply	other threads:[~2015-02-11 18:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-05 16:24 [Qemu-devel] [PULL 0/4] coverity: Improve and extend model Markus Armbruster
2015-02-05 16:24 ` [Qemu-devel] [PULL 1/4] coverity: Improve model for GLib memory allocation Markus Armbruster
2015-02-05 16:24 ` [Qemu-devel] [PULL 2/4] coverity: Model GLib string allocation partially Markus Armbruster
2015-02-11 18:41   ` Paolo Bonzini
2015-02-12  8:52     ` Markus Armbruster
2015-02-05 16:24 ` [Qemu-devel] [PULL 3/4] coverity: Model g_free() isn't necessarily free() Markus Armbruster
2015-02-05 16:24 ` [Qemu-devel] [PULL 4/4] MAINTAINERS: Add myself as Coverity model maintainer Markus Armbruster
2015-02-05 17:11 ` [Qemu-devel] [PULL 0/4] coverity: Improve and extend model Peter Maydell
2015-02-10 16:25   ` Paolo Bonzini
2015-02-11 14:45     ` Markus Armbruster
2015-02-11 18:29       ` Paolo Bonzini [this message]
2015-02-12  9:11         ` Markus Armbruster
2015-02-12 14:11           ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54DB9F6E.90700@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=armbru@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).