self-altering code
nounUK /ˌself ˈɔːltərɪŋ kəʊd/
US /ˌself ˈɔːltərɪŋ koʊd/
Code that can change itself while it is running.
The clever program used self-altering code to rewrite its own instructions and get faster.
OTHER MEANINGS
2. A program that edits its own source or machine instructions to adapt to new tasks.
Researchers studied self-altering code to see how it could repair bugs on its own.
3. A security concern where malicious software changes itself to avoid detection.
The virus used self-altering code to slip past the antivirus scanner.
4. A teaching idea where a computer learns by rewriting parts of its own logic.
In class, the students built a toy robot with self-altering code that improved at maze solving.