I am making a garbage collector to develop an appreciation for how they work.
I can process registers as well as heap and stack memory to find potential references to allocated blocks.
But processing the global data memory has eluded me.
Is there a way to get the upper and lower bounds of the global memory space in C (I'm using GCC on Intel OS-X if that helps)?
What other memory areas might I have missed?