
On Sat, Dec 17, 2011 at 12:43:11PM +1300, Chris Wong wrote:
On Sat, Dec 17, 2011 at 12:27 PM, KC
wrote: ... with the same functionality.
Thus, your program would be a moving target to hackers.
Would this be challenging with ghc?
Although it's possible, I doubt this would do anything. Most exploits are just programmer mistakes; changing the object code doesn't change the fact that there's a gaping security hole in your program. Plus, it would be harder to debug the compiler, since the mangling code would be non-deterministic by definition. So I doubt anyone would try to implement that.
I could help though if you want to write a virus in Haskell ;) /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. -- Alan Kay