News for hackers. Stuff that matters.
Re:Boringcc: Proposal for a C compiler for secure software by silon7 on Tuesday December 22, 2015 @03:03AM (#10776465)
I've used at times it to crash the program (core dump), producing a cleaner stack than abort().
Re:Boringcc: Proposal for a C compiler for secure software by astrange on Tuesday December 22, 2015 @06:28AM (#10777090)
You should use __builtin_trap(). Invoking undefined behavior lets the compiler justifiably delete the entire code path leading up to it.