How to Find the address where Heap begins from within the program?
We need to check whether the memory falls within the heap range before processing it. For this i need to knw the starting address of the heap. Heap end can be knwn from __curbrk i guess. We do not have access to the code where malloc was first called to allocate the memory. Any help??
|