On Mon, Sep 8, 2008 at 10:00 AM, Stefan Reinauer stepan@coresystems.de wrote:
ron minnich wrote:
On Mon, Sep 8, 2008 at 8:47 AM, Stefan Reinauer stepan@coresystems.de wrote:
Why would this not be possible? Change %sp and return.
if you change sp you really can not return. That's the issue.
why not? Assuming you created a valid stack before you switch esp. But that's really no magic.
crafting a return frame is easy. Recreating all of a stack, at a different address, is easy for all the parts that are not impossible. The impossible parts are hard.
ron