<?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>S32 Design Studio中的主题 Re: How to use AddressSanitizer in S32 Design studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-use-AddressSanitizer-in-S32-Design-studio/m-p/997029#M5741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer Erich.&lt;BR /&gt;As a frequent reader of your blog, it will be my pleasure to read about this subject.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2020 14:29:43 GMT</pubDate>
    <dc:creator>gberthiaume</dc:creator>
    <dc:date>2020-03-10T14:29:43Z</dc:date>
    <item>
      <title>How to use AddressSanitizer in S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-use-AddressSanitizer-in-S32-Design-studio/m-p/997027#M5739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As s32 design studio use gcc, I've tried to use the&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;-fsanitize=address &lt;/SPAN&gt;compiler flag in the project settings without success: The program just won't compile.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is it possible to use&amp;nbsp;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;AddressSanitizer on S32K codebases? I think this would bring a lot of value to the ecosystem.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;~gb&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 14:48:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-use-AddressSanitizer-in-S32-Design-studio/m-p/997027#M5739</guid>
      <dc:creator>gberthiaume</dc:creator>
      <dc:date>2020-01-10T14:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use AddressSanitizer in S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-use-AddressSanitizer-in-S32-Design-studio/m-p/997028#M5740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabriel,&lt;/P&gt;&lt;P&gt;the reason why you cannot compile is because if you turn on that option, you need a corresponding runtime environment which is not included in the S32DS environment. The compiler option alone only instruments your code, but you still need the runtime code. You find the runtime code documented e.g. in &lt;A class="link-titled" href="https://github.com/google/sanitizers/wiki/AddressSanitizerAlgorithm" title="https://github.com/google/sanitizers/wiki/AddressSanitizerAlgorithm"&gt;AddressSanitizerAlgorithm · google/sanitizers Wiki · GitHub&lt;/A&gt;. Additionally, that feature has originated from the LLVM/Linux/Web Browser world, and I have not seen an adoption for the more constrained embedded world of things. But I agree: it would be very useful. Having said that: I have been experimenting with AddressSanitizer for a while already building up some code base and examples, especially around FreeRTOS. But not for S32DS, my use case is MCUXpresso, but I don't see a reason why this would not be transferable to the DS world. I plan to document it maybe with a tutorial on my blog at &lt;A class="link-titled" href="https://mcuoneclipse.com/" title="https://mcuoneclipse.com/"&gt;MCU on Eclipse | Everything on Eclipse, Microcontrollers and Software&lt;/A&gt;&amp;nbsp; of I find time, but currently a bit under a crunch because of the university exam season.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jan 2020 08:23:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-use-AddressSanitizer-in-S32-Design-studio/m-p/997028#M5740</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-01-11T08:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use AddressSanitizer in S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-use-AddressSanitizer-in-S32-Design-studio/m-p/997029#M5741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer Erich.&lt;BR /&gt;As a frequent reader of your blog, it will be my pleasure to read about this subject.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2020 14:29:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-use-AddressSanitizer-in-S32-Design-studio/m-p/997029#M5741</guid>
      <dc:creator>gberthiaume</dc:creator>
      <dc:date>2020-03-10T14:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use AddressSanitizer in S32 Design studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-use-AddressSanitizer-in-S32-Design-studio/m-p/1284513#M7530</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/166491"&gt;@gberthiaume&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;finally I have found the time to write about it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2021/05/31/finding-memory-bugs-with-google-address-sanitizer-asan-on-microcontrollers/" target="_blank"&gt;https://mcuoneclipse.com/2021/05/31/finding-memory-bugs-with-google-address-sanitizer-asan-on-microcontrollers/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 05:23:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-use-AddressSanitizer-in-S32-Design-studio/m-p/1284513#M7530</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-05-31T05:23:48Z</dc:date>
    </item>
  </channel>
</rss>

