<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPCXpresso IDEのトピックRe: Linting C/C++ Code</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545023#M9012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Tue Dec 27 09:53:49 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used &lt;/SPAN&gt;&lt;A href="http://http://www.parasoft.com/jsp/products/insure.jsp;jsessionid=aaa9StD6anotZC?itemId=63"&gt;Insure++ from Parasoft&lt;/A&gt;&lt;SPAN&gt; in the past with very nice results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this was something like 10+ years ago and the code ran on an embedded Linux target.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We found some nice bugs (e.g. memory being allocated that was not being freed ad the same level, writing beyond stack boundaries, use of uninitialized variables) - nice bugs that are hard to catch during normal debugging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We also did code coverage using the TCA option of Insure++, this shows which blocks of code are executing how many times. Not only shows this your code coverage but it also shows where to start optimization if you need to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately this was too long ago to remember exactly how and what it was used. One thing I do know is that Insure++ injects special instrumentation code that checks and reports everything. The instrumentation code is specific for a certain target - we had a version that specifically matched our linux target.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is an open source alternative called &lt;/SPAN&gt;&lt;A href="http://http://valgrind.org/"&gt;Valgrind&lt;/A&gt;&lt;SPAN&gt;, but I have never used it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]Rob&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:34:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:34:14Z</dc:date>
    <item>
      <title>Linting C/C++ Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545022#M9011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Fritz on Tue Dec 27 08:42:12 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello, I am searching for tools 'linting' which are able check source code and improve quality of software written in C/C++ on 'Red Suite'. It would be nice if it is possible to generate automatically tests on the target for array bounds, illegal pointers, stack and more, if possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone experiances with such tools?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545022#M9011</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Linting C/C++ Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545023#M9012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Tue Dec 27 09:53:49 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used &lt;/SPAN&gt;&lt;A href="http://http://www.parasoft.com/jsp/products/insure.jsp;jsessionid=aaa9StD6anotZC?itemId=63"&gt;Insure++ from Parasoft&lt;/A&gt;&lt;SPAN&gt; in the past with very nice results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this was something like 10+ years ago and the code ran on an embedded Linux target.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We found some nice bugs (e.g. memory being allocated that was not being freed ad the same level, writing beyond stack boundaries, use of uninitialized variables) - nice bugs that are hard to catch during normal debugging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We also did code coverage using the TCA option of Insure++, this shows which blocks of code are executing how many times. Not only shows this your code coverage but it also shows where to start optimization if you need to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately this was too long ago to remember exactly how and what it was used. One thing I do know is that Insure++ injects special instrumentation code that checks and reports everything. The instrumentation code is specific for a certain target - we had a version that specifically matched our linux target.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is an open source alternative called &lt;/SPAN&gt;&lt;A href="http://http://valgrind.org/"&gt;Valgrind&lt;/A&gt;&lt;SPAN&gt;, but I have never used it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]Rob&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545023#M9012</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Linting C/C++ Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545024#M9013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Wed Dec 28 04:55:41 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Not tried it myself, but I hear very good reports about PC-Lint:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.gimpel.com/html/index.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:34:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545024#M9013</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Linting C/C++ Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545025#M9014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kalpak on Wed Dec 28 07:22:35 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;PC Lint has online demo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:34:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545025#M9014</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linting C/C++ Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545026#M9015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pivic on Tue Feb 21 05:05:30 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been struggling to install PClint in LPCxpresso for the last few days.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did anyone managed to get them working together? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been following : &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fhttp%3A%2F%2Fwww.bezem.de%2F2009%2F08%2Fusing-pc-lint-in-eclipse-no-plug-ins-required%2F" rel="nofollow" target="_blank"&gt;http://www.bezem.de/2009/08/using-pc-lint-in-eclipse-no-plug-ins-required/&lt;/A&gt;&lt;SPAN&gt; to create a new Build configuration. But now I am facing the problem of including the headers and libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use PClint V9.00i and LPCxpresso V4.1.5[219]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:34:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545026#M9015</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linting C/C++ Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545027#M9016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Macgyver on Mon Mar 05 15:38:11 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I got PC-Lint to work via help from Gimpel. There was not a lnt file for eclipse, but since Eclipse is a very common IDE nowadays, they had no problem getting me setup. There are a few hoops to jump through to get it to work, but if you contact Gimpel Software, they can probably get you up and running in a few hours.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:34:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545027#M9016</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Linting C/C++ Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545028#M9017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pivic on Fri Jul 06 12:04:11 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Macgyver,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please let us know how you did it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I asked Gimpel but I had no answer from them...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:34:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linting-C-C-Code/m-p/545028#M9017</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:34:17Z</dc:date>
    </item>
  </channel>
</rss>

