That&#x27;s one way, and sometimes the only way on certain platforms (hello Intel Quark), but
- those kinds of workarounds can cause problems on other platforms in turn
- they don&#x27;t stop malicious people from making use of such exploits, if they don&#x27;t require such privileges as to make them pointless once you can use them<p>So you generally prefer to be able to update the CPU microcode or flip a killbit to disable the relevant silicon path, to having to recompile everything on your architecture to include a workaround detection.