News for hackers. Stuff that matters.
Re:What Spectre and Meltdown Mean for WebKit by fpoling on Tuesday January 09, 2018 @04:21AM (#16104720)
It is even worse then switch/match statements. The jump tables can be used to train CPU to jump to a wide variety of addresses than switch/match statements so mounting a speculative execution attack is simpler.
Re:What Spectre and Meltdown Mean for WebKit by gpderetta on Tuesday January 09, 2018 @04:26AM (#16104742)
true. Then again switch statements (and I assume match statements in language that have them) are often compiled down to a jump table...