|
How to Relocate thread Stack?
Hi,
I am planning to write a loader which loads a process/thread and relocate the stack to some new location. Simplest thing would be to allocate some stack space and initialize stack pointer with it. However, this may not be straight as it sounds because I like to maintain demand stack pages mechanism used in windows.
Any thoughts on how to do this?
Visu
Last edited by visu; 03-29-2005 at 20:32.
|