Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's basically a jump table. Still vulnerable to spectre (variant 2) without mitigations, btw.


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.


true. Then again switch statements (and I assume match statements in language that have them) are often compiled down to a jump table...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: