From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yh0-f50.google.com (mail-yh0-f50.google.com [209.85.213.50]) by dpdk.org (Postfix) with ESMTP id 2C3C5B38E for ; Wed, 27 Aug 2014 17:54:15 +0200 (CEST) Received: by mail-yh0-f50.google.com with SMTP id v1so405838yhn.37 for ; Wed, 27 Aug 2014 08:58:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=o1oCUXvuC1bKrJUwkki6BeRlRdeBcxxE3QEhqYozcZE=; b=l3vO5vxhP4vaqXr/EPEZ568fI9sz4wXJV78KaHIBAzd1tBs7B7QAkefmsnER2fiTuj Cl6xzSuWAL9Vap4Si/mT3aJY8hjd0v0+dB6rRSHksSWhHJ4A2l/HLKSQc/yDqyqsnYxG +EzFtJGxjOAzda6mIuC+212Pc0Nm6WQag8OqkMxe4gFKG93tokF6ddYRknOku8JCbBqt fQ+qP2sb5gqxr9IDG0x9UH7VOgWtXHXlSvznUziUQTizjzwOB0rKHB6Lv+EWuqIAao+E 8i+Nvb5SvcmjlgQHnuRcoCNRsfAnNYADwFTQ7ncjgxtDBTremBCHMbfmvyEzGBy2Mpvu 7Jug== X-Gm-Message-State: ALoCoQnjngUw+gGjm8U5G/kTiois1SivfPHscg5N5HV3bRJ++HaugVr1YypqYnMPi0IsEypIDNh8 MIME-Version: 1.0 X-Received: by 10.236.14.34 with SMTP id c22mr21381226yhc.97.1409155099559; Wed, 27 Aug 2014 08:58:19 -0700 (PDT) Received: by 10.170.96.213 with HTTP; Wed, 27 Aug 2014 08:58:19 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Aug 2014 10:58:19 -0500 Message-ID: From: Jay Rolette To: "Wiles, Roger Keith" Content-Type: text/plain; charset=UTF-8 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:54:15 -0000 Here's the link you want: https://scan.coverity.com/ Check the FAQ for terms and you'll need to register the product, but I didn't see anything obvious that should get in the way from being able to use it for DPDK. Agree with Coverity not being cheap. I bought it for my last company. Really liked that Coverity had a much higher signal-to-noise ratio than other tools at the time. Possibly the gap has closed since then, but you know it can't be as bad as lint! On Wed, Aug 27, 2014 at 10:52 AM, Wiles, Roger Keith < keith.wiles@windriver.com> wrote: > Nice, we had to buy one and that was not cheap :-) I groped around on th= e > Coverity 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, =E2=80=A6 all seem to tes= t > different parts of your code and some are better then others. Some have a > lot false positives and some report huge number of issues, but it just > depends on the type and level of scan you want. One thing I found was you > need to run different 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 < > keith.wiles@windriver.com> wrote: > >> Hi Everyone, >> >> I built dpdk with Clang and used the scan-build analyzer to produce a >> report. 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 to see the >> results. >> >> While running scan-build the build would fail, but I forced the build to >> continue 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 an= d 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 >> money :-) >> >> 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 *mo= bile > 972-213-5533 > >