<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to realise Real-time detection of access of memory beyond the bounds of an allocation
block, instead of period detection in Cortex-M4. Please give me any idea.</title><link>https://community.arm.com/developer/ip-products/processors/f/cortex-m-forum/48067/how-to-realise-real-time-detection-of-access-of-memory-beyond-the-bounds-of-an-allocation-block-instead-of-period-detection-in-cortex-m4-please-give-me-any-idea</link><description> In my application, I have already redefine malloc and free with keil. Now I hope that the program will be stopped immediately at the exact location at which the program wrote beyond the allocated data. Is there any idea to achieve it? </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: How to realise Real-time detection of access of memory beyond the bounds of an allocation
block, instead of period detection in Cortex-M4. Please give me any idea.</title><link>https://community.arm.com/thread/168696?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 05:17:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6f251f10-f4f7-4e14-bdcd-0f6daeaabee3</guid><dc:creator>42Bastian Schick</dc:creator><description>&lt;p&gt;I&amp;#39;d add a virgin pattern before and after each allocated chunk. A heap scan can check these. &lt;/p&gt;
&lt;p&gt;DTW is actually more practical for the stack.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to realise Real-time detection of access of memory beyond the bounds of an allocation
block, instead of period detection in Cortex-M4. Please give me any idea.</title><link>https://community.arm.com/thread/168693?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 01:30:30 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4083881d-1e88-4281-a7f4-9a1e7d9faa48</guid><dc:creator>Gray</dc:creator><description>&lt;p&gt;Thank you for the reply. That is an good idea. However, the&amp;nbsp;comparator of the DWT uint can only monitor up to 32-byte&amp;nbsp;range of addresses by using DWT_MASK Registers. In my application, the Heap size is at least 50K bytes, so it can&amp;#39;t meet all aims.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to realise Real-time detection of access of memory beyond the bounds of an allocation
block, instead of period detection in Cortex-M4. Please give me any idea.</title><link>https://community.arm.com/thread/168690?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 19:15:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2d8b05be-1074-40cb-988e-286b01ecf8e8</guid><dc:creator>42Bastian Schick</dc:creator><description>&lt;p&gt;Watchpoint!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>