get address space of my prog during runtime?
hiho@ll
i just wanted to know if it's possible to know during runtime of my programm where the heap is located or the stack ...
i wanted to write a prog, which allocates an array (or use any variable) and the pointer variable tells me where it is located (in heap, data, bss)
i know most times it's not really necessary to control such stuff
but i just wanted to know how it works, if it works
so, how can i resolve the address space of my program? and is it possible?
thx@ll
|