qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Static analysis using clang on the x86_64 target
@ 2010-01-12 18:13 Amit Shah
  2010-01-12 19:01 ` malc
  2010-01-12 19:35 ` Blue Swirl
  0 siblings, 2 replies; 9+ messages in thread
From: Amit Shah @ 2010-01-12 18:13 UTC (permalink / raw)
  To: qemu-devel

Hello,

Here's a run of the clang analyzer on qemu sources for the x86_64
target.

See

http://amitshah.fedorapeople.org/clang-output/2010-01-12-9/

for the results.

There are a few results there which look dubious but a lot of the output
can be useful to fix the bugs.

What's nice about the tool is that the output is the source code
annotated with the branch decisions that were taken to point out to the
case where a bug would be triggered.

Doing this for all the targets takes a really long time plus lots of
disk space (I stopped the compile at 400M of clang output).

If there's interest in this kind of result, I can post a link to the
list every week or so. However, some bugs reported make it slightly less
appealing as real bugs could get lost in the noise.

For information on the clang static analyzer, see

http://clang-analyzer.llvm.org/

		Amit

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

end of thread, other threads:[~2010-01-21 11:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12 18:13 [Qemu-devel] Static analysis using clang on the x86_64 target Amit Shah
2010-01-12 19:01 ` malc
2010-01-13  7:04   ` Amit Shah
2010-01-12 19:35 ` Blue Swirl
2010-01-13  7:02   ` Amit Shah
2010-01-13 19:08     ` Blue Swirl
2010-01-14  3:09       ` Amit Shah
2010-01-14 20:48         ` Blue Swirl
2010-01-21 11:41     ` Amit Shah

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