&gt;and some may still rely on self-modification in unknown ways<p>To the point that they have the EX instruction.  It&#x27;s an indirect logical or and execute single instruction to allow for re enterent self modifying code.  How can you even begin to W^X given that you have that instruction?