From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by dpdk.org (Postfix) with ESMTP id ED55DB37E for ; Wed, 27 Aug 2014 17:48:18 +0200 (CEST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.9/8.14.5) with ESMTP id s7RFqMpR026948 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 27 Aug 2014 08:52:22 -0700 (PDT) Received: from ALA-MBB.corp.ad.wrs.com ([169.254.1.18]) by ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0174.001; Wed, 27 Aug 2014 08:52:21 -0700 From: "Wiles, Roger Keith" To: Jay Rolette Thread-Topic: [dpdk-dev] Clang Scan build results Thread-Index: AQHPwgl9ucruR2NTEUKgGoCehJGf5ZvlB1qAgAAHsYA= Date: Wed, 27 Aug 2014 15:52:21 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.40.162] MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "" Subject: Re: [dpdk-dev] Clang Scan build results X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2014 15:48:19 -0000 Nice, we had to buy one and that was not cheap :-) I groped around on the C= overity site and did not find any statement about being free to open source= , but I may have just missed it. I did find that PC-Lint, Coverity, scan-build, =85 all seem to test differe= nt parts of your code and some are better then others. Some have a lot fals= e positives and some report huge number of issues, but it just depends on t= he type and level of scan you want. One thing I found was you need to run d= ifferent tools to find different problems as none of them do everything IMO= . On Aug 27, 2014, at 10:24 AM, Jay Rolette > wrote: > We could run something like PC-Lint or Coverity, but they cost money :-) Pretty sure Coverity is free for open source projects... Jay On Wed, Aug 27, 2014 at 10:13 AM, Wiles, Roger Keith > wrote: Hi Everyone, I built dpdk with Clang and used the scan-build analyzer to produce a repor= t. The report is about 13M in size so not very nice to send to the list. I = decided to place the report on github.com if you want t= o see the results. While running scan-build the build would fail, but I forced the build to co= ntinue using the scan-build option to get as much of the report as possible= . I did not have time yet to understand why the build stopped and I hope to= dig into it more later. Running scan-build is pretty simple, so would be a nice test report if you = wanted to add it to dpdk.org site and maintain its output= for review. It would be nice to run once in a while to weed out any basic = problems. We could run something like PC-Lint or Coverity, but they cost mo= ney :-) Here is the link to my Pktgen-DPDK repos on github: # git clone git://github.com/Pktgen/dpdk-scan-build-results.git Let me know if you have any questions or suggestions. Thanks ++Keith Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-= 213-5533 Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-= 213-5533