Kernel buffer overflow exposes iPhone 11 Pro to radio based attacks

Walter Bright newshound2 at digitalmars.com
Fri Dec 4 10:22:06 UTC 2020


On 12/4/2020 2:12 AM, IGotD- wrote:
> Correct so if this was a kernel, then if you get a interrupt like pressing a key 
> or if there are any pending interrupts, the HLT instruction would just continue. 
> For kernels, the best choice would be some kind of function that is supposed to 
> be called or a panic function that the programmer can fill in. This would be the 
> most versatile option for those scenarios.

And DMD has that option as well:

     -checkaction=C

which calls the C Standard library assert fail function. Note that this function 
doesn't actually have to be in the C Standard library, it just has to have the 
same name and arguments.


More information about the Digitalmars-d mailing list