Clang static analyzer results

Teemu Nätkinniemi tnatkinn@gmail.com
Mon Jul 2 20:28:00 GMT 2012


On 2.7.2012 23:04, Christopher Faylor wrote:
> On Fri, Jan 27, 2012 at 04:56:41AM -0600, Yaakov (Cygwin/X) wrote:
>> I just added the clang-analyzer to the pending LLVM/Clang ITP, and what
>> better way to test it than on the Cygwin codebase itself.  Here are the
>> results for CVS HEAD as of yesterday:
>>
>> http://cygwin-ports.sourceforge.net/scan-build/
>>
>> Obviously it will still take knowledgeable human intervention to judge
>> the actual severity of these "bugs", but so far it does seem that there
>> is some useful information here which we may want to take into account.
>
> Many months later, I thought maybe the above might have uncovered
> something which would shed some light on the stack problems that I
> noted.  It didn't but I did take a swing through this report and
> eliminated some of the more obvious issues.

FYI, PVS-Studio support GCC nowadays and there's always Cppcheck as 
well. PVS-Studio officially supports GCC with MinGW but I've been 
testing it with Cygwin/MSYS and it does give some results.

http://www.viva64.com/en/pvs-studio/

http://cppcheck.sourceforge.net/






More information about the Cygwin-developers mailing list