News for hackers. Stuff that matters.
Re:Rustproofing Linux (Part 1/4 Leaking Addresses) (2023) by fulafel on Wednesday August 28, 2024 @04:26AM (#41377292)
The hidden unsafety in the pr_ macros (here under the heading Bonus Point for no unsafe) was interesting. I wonder if there's anything the compiler could do to detect this kind surprise-unsafety happening, for example a no-unsafe assertion in a source file.

Also, why doesn't the compiler know by default that the stack allocated struct is "MaybeUninit"?

There are no comments on this comment yet.