FR version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
50% Positive
Analyzed from 562 words in the discussion.
Trending Topics
#code#shit#self#modifying#security#bit#better#arm#instruction#don

Discussion (16 Comments)Read Original on HackerNews
But then, a lot of correctness bugs like that are also security problems.
When it's done incompetently as on this ARM implementation, then you can't even run perfectly good and correct code, because the CPU will attempt speculative execution on a location that you never asked it to execute code at, and then bork itself when it realizes that can't possibly work.
Naturally, this is the sort of problem that requires tedious dissection of what exactly happened, and copious amounts of alcohol.
JIT is important to Apple platforms, and they seem to manage to make it work well enough even with the need for explicit invalidation.
(Or did you confuse cache flushing with TLB flushing? The remap does the latter, not the former.)