What does the register value REG_UESP contain?
I'm doing some novice work with ucontext and threading. I'm printing out certain register values just to practice doing it.
However, I'm confused about one of the register values in Linux, REG_UESP. For instance, I know that REG_EIP contains the address of the instruction pointer, and REG_ESP contains the address of the stack pointer.
I can't figure out what REG_UESP is, though. Is it an unsigned version of ESP? Is it the address of the last element popped off the stack?
When I print it out right now, it gives an address of 0. Does this mean it points to the first memory address, or that its value is null?
Last edited by kingdubp; 10-05-2012 at 04:26 PM.