4 ms·
Self-modifying Lisp, perhaps? Do Turing tapes count? Really the main use of these techniques (and the article has a telltale in its use of the word "shellcode"
by pjc50 8y ago
Self-modifying Lisp, perhaps? Do Turing tapes count?
Really the main use of these techniques (and the article has a telltale in its use of the word "shellcode") is injecting code into a program that was not originally intended to be modifiable. Usually (although not always) across a security boundary.
- benj111 8y agoTuring tape, good point! Now where's my infinitely long piece of paper... By self modifying lisp, I take it you mean modifying the lisp data (/code? (/data?)) structure itself? On a lisp machine would that count as self modifying???
- pjc50 8y agoYes, that was to some extent the point of using the same representation for code and data (homoiconicity) in Lisp - the ability to edit the code from inside itself. I'm not sure how widely this is used outside the macro system and development environments.