On Mon, 27 Sep 2004, ben franchuk wrote:
Peter C. Wallace wrote:
Isn't self modifying code pretty much
deprecated these days (aside from
trampolines and such)
So what is a trampoline?
A piece of code used often used for signal handlers that pushes
instructions on the stack and then executes them. Newer systems are getting
away from this so that the stack can be flagged as non-executable to avoid
stack overun screws.
Peter Wallace
I have yet to see a good use for self-modifying code. Other than
subroutines and interupts placing data into a code segement the only
self modifying code I have seen was for the 8088.
Ben.
Peter Wallace