There&#x27;s various research projects out there to, at compiler level, create different output binaries out of same source code to accomplish this task. I&#x27;m not really following it I just remember a professor at my undergrad was recruiting people for his lab on it, and I&#x27;m pretty sure his project was not only one. <a href="https:&#x2F;&#x2F;ssllab.org&#x2F;trac&#x2F;wiki&#x2F;MultiCompilerPublic" rel="nofollow">https:&#x2F;&#x2F;ssllab.org&#x2F;trac&#x2F;wiki&#x2F;MultiCompilerPublic</a><p>edit: see compiler&#x2F;compile-time randomization? see some other similar projects under these key terms.