Re:Linux Kernel Ksmbd Use-After-Free Remote Code Execution V...
by quotemstr on Thursday December 22, 2022 @11:19PM
(#34102305)
Humans cannot write correct C, full stop
[ Parent
| on HN ]
Re:Linux Kernel Ksmbd Use-After-Free Remote Code Execution V...
by Gibbon1 on Friday December 23, 2022 @01:43AM
(#34102922)
I tend to agree. Really the C standard needs to be yeeted away from WG14's grasp. Because they're responsible for blocking safety related improvements.
Re:Linux Kernel Ksmbd Use-After-Free Remote Code Execution V...
by ryao on Friday December 23, 2022 @03:44AM
(#34103637)
What do you call seL4, the Compcert C compiler and the tools for writing provably correct C at frama-c.org?
Re:Linux Kernel Ksmbd Use-After-Free Remote Code Execution V...
by quotemstr on Friday December 23, 2022 @10:44AM
(#34106998)
That's called a Chinese Room. :-) A human cannot write correct C. The theorem-prover-human system can. Unfortunately, the C apologists I observe around me are as opposed to formal methods as they are non-C languages. It's some kind of bizarre cowboy thing.
Re:Linux Kernel Ksmbd Use-After-Free Remote Code Execution V...
by Quekid5 on Friday December 23, 2022 @01:43PM
(#34109227)
I'd call that a straw man. Very little code is written that way, so it doesn't apply in practice, like... at all.
Also: unless you have very specific requirements there are probably easier languages+tools to write proven-correct programs in.