2009-06-17 12:00:22     Defining Heap`s starting address

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-06-17 12:00:22     Defining Heap`s starting address

Jayaprabhu Nadarajan (INDIA)

Message: 75907   


Hi I am facing a heap area corruption issue. There are lot of modules in our application

which will constantly do malloc and free. I am already building the application with "-mstack-check-l1".

Is it possible to define the starting address of my heap so that i can have some hooks

around this area. We are using 2008R1.5Kernel







2009-06-17 12:05:17     Re: Defining Heap`s starting address

Mike Frysinger (UNITED STATES)

Message: 75910   


you cannot control the heap in any way.  it is all dynamic.


if you use the 2008R1.5 svn branch, you could also try turning on the MPU.