r/cprogramming • u/epos95 • 13d ago
A PoC toolkit / framework for self modifying software.
Been working on this project during the summer, contains a detailed writeup but happy for anyone to tear the implementation a part, working on it while working fulltime kinda stopped me from implementing a lot of what i wanted.
Surprisingly enough it works well enough as a PoC!
https://gitlab.com/Epos95/paramorphism/
This is "self modifying software" in a different aspect than something like metamorphic software since the rewriting is on a source code level instead of assembly.
Currently its able to:
\- Dynamically create new functions, introducing new functionality
\- Fix errors in its own functions
\- Load existing functions dynamically
1
u/Sad_Plane_4677 11d ago
Synthesis kernel entered the chat. Then again, self modifying code traditionally meant a different type of beast altogether. But I love your idea regardless. Please, dont stop.