News for hackers. Stuff that matters.
Re:How to C in 2016 by bdamm on Friday January 08, 2016 @02:25PM (#10867487)
Actually there do exist provably safe programs. The problem is making that usable to the industry wide audience.
Re:How to C in 2016 by SCHiM on Friday January 08, 2016 @02:59PM (#10867744)
There are no such provably safe programs. I assume that you are thinking about programs that have been verified by formal proof systems.

They are not proven to be safe, they are proven to adhere to whatever the proof system managed to prove. This shifts the possible vulnerabilities away from the actual code and onto the proof system and the assumptions that the proof system makes.

For example, take a C program that was proven to be absolutely free of buffer overflows. And therefore labelled by the proof system as 'secure'. But, unbeknownst to the proof system, the C program also interprets user-supplied input as a format string! So it's still vulnerable to format string exploits.

Correct proof systems probably add a huge margin of security compared with the current security standards, but it's not absolute.

Re:How to C in 2016 by munin on Friday January 08, 2016 @07:58PM (#10869499)
Re:How to C in 2016 by qaq on Friday January 08, 2016 @02:46PM (#10867645)
Which is executed on say early stepping CPU that has a vulnerability.
Re:How to C in 2016 by bdamm on Monday January 11, 2016 @12:48PM (#10881881)
Safe software would be a huge accomplishment towards safe systems.