qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] coverity: Improve and extend model
@ 2015-01-28  9:58 Markus Armbruster
  2015-01-28  9:58 ` [Qemu-devel] [PATCH 1/3] coverity: Improve model for GLib memory allocation Markus Armbruster
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Markus Armbruster @ 2015-01-28  9:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini

I examined the differences between local scans with and without a
derived model file for GLib, to gauge what we're missing (the Coverity
Scan service we use can't do derived model files).  Doesn't look bad,
but a few missed memory leaks caught my attention.  I improved our
model file to catch them (PATCH 1+2).  Topped off with PATCH 3 to
catch mixing up g_free() and free().

Markus Armbruster (3):
  coverity: Improve model for GLib memory allocation
  coverity: Model GLib string allocation partially
  coverity: Model g_free() isn't necessarily free()

 scripts/coverity-model.c | 228 +++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 193 insertions(+), 35 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-28 10:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-28  9:58 [Qemu-devel] [PATCH 0/3] coverity: Improve and extend model Markus Armbruster
2015-01-28  9:58 ` [Qemu-devel] [PATCH 1/3] coverity: Improve model for GLib memory allocation Markus Armbruster
2015-01-28  9:58 ` [Qemu-devel] [PATCH 2/3] coverity: Model GLib string allocation partially Markus Armbruster
2015-01-28  9:58 ` [Qemu-devel] [PATCH 3/3] coverity: Model g_free() isn't necessarily free() Markus Armbruster
2015-01-28 10:06 ` [Qemu-devel] [PATCH 0/3] coverity: Improve and extend model Paolo Bonzini
2015-01-28 10:35   ` Markus Armbruster
2015-01-28 10:35 ` [Qemu-devel] [PATCH 4/3] MAINTAINERS: Add myself as Coverity model maintainer Markus Armbruster

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).