Why did Meltdown and Spectre bugs go undiscovered for so long?

我的未来我决定 提交于 2019-12-24 08:38:46

问题


Why did Meltdown and Spectre bugs go undiscovered for so long?

Nearly 20 years these bugs have been present in the CPU's why wasn't this discovered sooner given the serious implications for all computers using these processors?


回答1:


The answer is quite simple: modern CPUs have few billions transistors. For example, the latest Intel Skylake architecture has ~2 billion. Each transistor might have a state which influence the state of other transistors (i.e. those transistors are connected somehow).

Basically, this means there is so many possible permutations or states of the modern CPUs, we simply are not able to test in a lifetime. So we (or rather producer) test just some of the states and in some scenarios, leaving a potential room for dangerous corner cases.

Spectre and Meltdowns are such untested corner cases, but there might be much more there due to complexity of the modern CPUs.



来源:https://stackoverflow.com/questions/48540905/why-did-meltdown-and-spectre-bugs-go-undiscovered-for-so-long

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!