First of all I would like to mention that this is required as a part of project that I am making.
What I want to do is identify the objects made up at runtime in C for a conservative garbage collector.
Here I want to search the stack for all the pointer values.
So I can find one end by simply declaring a variable and finding the address of it.
The problem comes in finding the other end of stack.
How can I know its value.
I guess it would be saying as finding the sp pointer just before my program starts its execution in the cpu.
Please help...
What I want to do is identify the objects made up at runtime in C for a conservative garbage collector.
Here I want to search the stack for all the pointer values.
So I can find one end by simply declaring a variable and finding the address of it.
The problem comes in finding the other end of stack.
How can I know its value.
I guess it would be saying as finding the sp pointer just before my program starts its execution in the cpu.
Please help...
Comment