project: self-modifying files

This project space is for programmatic self-modifying files. Oftentimes these are known as polymorphic routines, as in files that change themselves (and their hash values) every time they run.


The first sample put up is a self-modifying counter; it starts with an arbitrary value, then on each file regeneration increments the value by one.
self-modifying counter


The second sample put up is a self-modifying switcher; it starts as 'good'; then switches to 'evil', then remains good.
self-modifying switcher
... added writing and testing the builder portion, and test cases, which automates the necessary steps for this process to occur as well as variants thereof (20170406).