Hello All,

Is there a way I can find the base of the heap without reading the
/proc/maps file?

I linux currently gcc have __attribute(constructor)__ which will make
a function call before libc is initialized and even before main is
called, in such routine I use sbrk(0) to find the base of the brk.

Is there a way I can do this on solaris?

Looking forward to hear from you.

Best,
Vamsi.
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to