March 7, 2016
8:05 a.m.
On Mon, 07 Mar 2016 13:07:14 +0530, Nitin Varyani said:
Where is the stack pointer for the current process stored in linux?
In the stack pointer register, of course. (And if the code was compiled with -fomit-stack-pointer there isn't even one. :) The fun and games starts when you talk about the stack for a process that *isn't* currently active on a CPU....