<?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>CodeWarrior for MCUのトピックStatic/dynamic code analysing tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271262#M10152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any free code analysis tool that could be integrated with CodeWarrior 10.4 for MCU? I've seen around several tools of this type, but all are way too expensive.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 05:27:42 GMT</pubDate>
    <dc:creator>VictorLorenzo</dc:creator>
    <dc:date>2013-08-23T05:27:42Z</dc:date>
    <item>
      <title>Static/dynamic code analysing tools</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271262#M10152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any free code analysis tool that could be integrated with CodeWarrior 10.4 for MCU? I've seen around several tools of this type, but all are way too expensive.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 05:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271262#M10152</guid>
      <dc:creator>VictorLorenzo</dc:creator>
      <dc:date>2013-08-23T05:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Static/dynamic code analysing tools</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271263#M10153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;these thread from Erich Styger should help:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/01/06/free-static-code-analysis-with-eclipse/" title="http://mcuoneclipse.com/2013/01/06/free-static-code-analysis-with-eclipse/"&gt;http://mcuoneclipse.com/2013/01/06/free-static-code-analysis-with-eclipse/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/04/01/eclipse-and-pc-lint-linticator/" title="http://mcuoneclipse.com/2012/04/01/eclipse-and-pc-lint-linticator/"&gt;Eclipse and PC-lint: Linticator | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 05:35:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271263#M10153</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2013-08-23T05:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Static/dynamic code analysing tools</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271264#M10154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I was already aware of that analyzer included in the CW IDE, in fact I'm using it sometimes. But in my opinion the results from that tool are not yet reliable. For example, see the picture below, in one hand the tool reports as a bug something that (probably) is not exactly a bug but (perhaps) a bad programming practice. In the other hand, it does not recognize one severe security flaw (buffer overrun) in the function InitMyData(). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function named MyFunction() does have a return statement, but the tool reports the function as not having a return statement. The function InitMyData() is writing to one location out of bounds (2 bytes out).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="bug.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40550i6CF5C74BA82E16AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="bug.png" alt="bug.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This two isses are correctly detected by some other tools like FlexeLint, which only reports as a bug the out of bounds access in function InitMyData() and reports these two messages:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: darkred;"&gt;Warning &lt;A href="http://gimpel-online.com/MsgRef.html#416"&gt;416&lt;/A&gt;:&lt;/SPAN&gt;&amp;nbsp; Likely creation of out-of-bounds pointer (2 beyond end of data) by operator '['&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: darkred;"&gt;Warning &lt;A href="http://gimpel-online.com/MsgRef.html#415"&gt;415&lt;/A&gt;:&lt;/SPAN&gt;&amp;nbsp; Likely access of out-of-bounds pointer (2 beyond end of data) by operator '['&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 11:48:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271264#M10154</guid>
      <dc:creator>VictorLorenzo</dc:creator>
      <dc:date>2013-08-23T11:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Static/dynamic code analysing tools</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271265#M10155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, one more detail, Linticator is not free and, curiously, requires you to previously install PC-Lint, which is not free either. Support for Linticator is only granted for six months after purchase, which is not a so good point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As another payed alternative &lt;A href="http://www.programmingresearch.com/products/qac/"&gt;QA-C&lt;/A&gt; (from Programming Research) seems to be option to take into account as it can also integrate in Eclipse and CodeWarrior. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 12:01:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271265#M10155</guid>
      <dc:creator>VictorLorenzo</dc:creator>
      <dc:date>2013-08-23T12:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Static/dynamic code analysing tools</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271266#M10156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is correct: Linticator is not free and requires PC-lint with is not free neither.&lt;/P&gt;&lt;P&gt;In my view PC-lint is still one of the best-in-class static analysis tools.&lt;/P&gt;&lt;P&gt;How to use it without Linticator: &lt;A href="http://mcuoneclipse.com/2012/04/10/linting-without-a-plugin/" title="http://mcuoneclipse.com/2012/04/10/linting-without-a-plugin/"&gt;Linting without a plugin | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Eclipse built-in is very basic (better than nothing). I have seen other (free) tools for gcc/ARM, but honestly I had no time to look into this.&lt;/P&gt;&lt;P&gt;Maybe somebody else can share his experience?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 13:31:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271266#M10156</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-08-23T13:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Static/dynamic code analysing tools</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271267#M10157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some times I go and see the PC-Lint on-line interactive demo to check small portions of code. Thanks for the link, I think it's a well presented and easy to follow how-to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 05:44:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Static-dynamic-code-analysing-tools/m-p/271267#M10157</guid>
      <dc:creator>VictorLorenzo</dc:creator>
      <dc:date>2013-08-26T05:44:25Z</dc:date>
    </item>
  </channel>
</rss>

