Top "Self-modifying" questions

Self-modifying code is a piece of software which achieves its goal by rewriting itself as it goes along.

How to write self modifying code in C?

I want to write a piece of code that changes itself continuously, even if the change is insignificant. For example …

c self-modifying
Fixing file permissions after modifying in C++?

I'm saving my data in the executable file of the program. I copy it to a temporary file, overwrite a …

c++ linux executable file-permissions self-modifying
How to write self-modifying code in x86 assembly

I'm looking at writing a JIT compiler for a hobby virtual machine I've been working on recently. I know a …

assembly x86 jit vm-implementation self-modifying
Programming language for self-modifying code?

I am recently thinking about writing self-modifying programs, I think it may be powerful and fun. So I am currently …

programming-languages dynamic-languages self-modifying
What are the uses of self modifying code?

Is there any real use for self modifying code? I know that they can be used to build worms/viruses, …

executable self-modifying
What is a code cave, and is there any legitimate use for one?

I encountered this word for the first time in the StackOverflow question "C# Theoretical: Write a JMP to a codecave …

assembly terminology definition self-modifying codecave
Can a C program modify its executable file?

I had a little too much time on my hands and started wondering if I could write a self-modifying program. …

c metaprogramming self-modifying
Self modifying code in Java

Have you ever created or encountered a self modifying code in Java? If yes, then please post the link or …

java self-modifying
Self Modifying Code [C++]

I was reading a codebreakers journal article on self-modifying code and there was this code snippet: void Demo(int (*_printf) (…

c++ self-modifying
self modifying python script

I want to create python script which can modify code in that script itself using Python Language Services or using …

python self-modifying