develooper Front page | perl.perl5.porters | Postings from October 2016

Re: anyone with CppDepend, PVS-Studio, Fortify, ...

From:
Dmitry Karasik
Date:
October 13, 2016 12:02
Subject:
Re: anyone with CppDepend, PVS-Studio, Fortify, ...
Message ID:
20161013120152.GA33448@nataraj.karasik.eu.org
Answering to a year-old mail from Jarkko

> In case any of you have access to source code analysis tools like
> http://www.viva64.com/en/pvs-studio/ (Windows only, but looks interesting)
> why don't you give the Perl sources a whirl?

I asked the viva64 folks for a test license for our own purposes, but also tried
to run it on the latest blead. Couldn't notice anything really juicy, but some messages
could be interesting it, f.ex. this:

src/blead/pp_sys.c:902
Uninitialized variable '_p' was used. The variable was used to initialize itself.
     }
     HvEITER_set(MUTABLE_HV(varsv), 0);
     break;

The full log (badly re-formatted from some proprietary output) is here[1] if anyone is
interested.

[1] http://karasik.eu.org/misc/pvs/perl.log


-- 
Sincerely,
	Dmitry Karasik




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About