The NX bit is not just about security
purplesyringa.moe
The NX bit is not just about security
1–10 of 50 posts
Re: The NX bit is not just about security
#2Re: The NX bit is not just about security
#3Re: The NX bit is not just about security
#4Re: The NX bit is not just about security
#5But then, a lot of correctness bugs like that are also security problems.
Re: The NX bit is not just about security
#6Hot take: NX bit is shit W^X is shit. proper JIT is having objects written as needed, and cache line flushing is full bullshit, we need self modifying code as a first class citizen and with modern techiques we can have it work and not be crazy slow, it is currently cuz shits fucked, but we can do better.
Re: The NX bit is not just about security
#7I really wish I understood this, it hits a bunch of topics that I've heard of and are/sound interesting, but I don't know enough to follow it. I don't get the link between the NX bit (which I get) and speculative access.
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.
Re: The NX bit is not just about security
#8Re: The NX bit is not just about security
#9I really wish I understood this, it hits a bunch of topics that I've heard of and are/sound interesting, but I don't know enough to follow it. I don't get the link between the NX bit (which I get) and speculative access.
Re: The NX bit is not just about security
#10Hot take: NX bit is shit W^X is shit. proper JIT is having objects written as needed, and cache line flushing is full bullshit, we need self modifying code as a first class citizen and with modern techiques we can have it work and not be crazy slow, it is currently cuz shits fucked, but we can do better.