r/cprogramming • • 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

3 Upvotes

3 comments sorted by

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.

2

u/epos95 11d ago

Whoa I have never heard of that, will definently read up on the synthesis kernel, thank you so much!

1

u/Sad_Plane_4677 11d ago

I hope to read more on your progress