Kernel buffer overflow exposes iPhone 11 Pro to radio based attacks
Adam D. Ruppe
destructionator at gmail.com
Fri Dec 4 13:40:31 UTC 2020
On Friday, 4 December 2020 at 09:24:43 UTC, Timon Gehr wrote:
> The only reason why `HLT` terminates execution of userspace
> code is that such code does not have sufficient permissions to
> execute the instruction; in the kernel, it would not do much.
I think every time dmd uses hlt it would be better off with int
3; the debug trap instruction. It is also one byte - 0xcc - and
is actually defined to do something more appropriate.
Or maybe not cuz of side effects... idk really, just the misuse
of hlt has always bugged me.
More information about the Digitalmars-d
mailing list