News for hackers. Stuff that matters.
Re:Writing a Self-Mutating x86_64 C Program (2013) by pjc50 on Friday January 11, 2019 @07:50AM (#18883176)
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.

Re:Writing a Self-Mutating x86_64 C Program (2013) by benj111 on Friday January 11, 2019 @08:06AM (#18883257)
Turing 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???

Re:Writing a Self-Mutating x86_64 C Program (2013) by pjc50 on Friday January 11, 2019 @08:27AM (#18883407)
Yes, 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.