We actually (almost) have that. It is called gcc.<p>A long time ago, when encountering &quot;undefined&quot; behavior, it would try to launch Nethack[1]. (It is valid behaviour, according to the spec.)<p>Seriously, ask around. There was a multi-month fat-chewing about gcc&#x27;s pathological interpretation of &quot;undefined&quot; earlier this year on the Cryptography list, and tends to come up anywhere C programmers with an interest in security drink.<p>[1] <a href="http:&#x2F;&#x2F;feross.org&#x2F;gcc-ownage&#x2F;?1?1" rel="nofollow">http:&#x2F;&#x2F;feross.org&#x2F;gcc-ownage&#x2F;?1?1</a>