163 points · by wglb · 5y ago · 41 comments
0. https://github.com/verifast/verifast
1. https://metasepi.org/en/posts/2020-10-14-avoid-freebsd-secur...
https://github.com/rurban/ctl/commit/cc65e82ba1fdafcf9c83697...
cbmc found some huge bugs the testsuites were not able to find.
KLEE has similar status as Z3. Hugely popular, but rarely used in practice. Educational toys, or used in side-projects only.
[0] https://www.microsoft.com/en-us/research/project/checked-c/
In fairness, that's a big deal, especially when trying to port a large existing code base.
Source?
Wiki says:
> A successor to the programming language B, C was originally developed at Bell Labs by Dennis Ritchie between 1972 and 1973 to construct utilities running on Unix.
> In 1972, Ritchie started to improve B, which resulted in creating a new language C.
The only alternative to it, besides improved static analyzers, is the ongoing work from CPU and OS vendors to bring hardware tagged memory into mainstream computing.
Isn't that actually kind of significant?
[0] https://www.microsoft.com/en-us/research/uploads/prod/2018/0...
See here for more info (which transitively links to a tutorial of 3C's use): https://github.com/correctcomputation/checkedc-clang/blob/ma...
That really irks me. It's apparently a holdover from the days when papers were published in magazine-type journals which had an issue date. Putting a date on the paper made it clear how far behind the publisher was. Papers should now have dates on them.
Published in: 2020 IEEE Secure Development (SecDev)
Date of Conference: 28-30 Sept. 2020
Date Added to IEEE Xplore: 21 October 2020
It seems to me that the path of least resistance for memory safety in C-based OS kernels is to port them to a memory-safe C compiler and runtime.
Of course, if it's feasible to refactor existing C code like in the paper, this seems like a good path forward, vs trying to "start over" with whatever other checked language of choice you pick.
Compared to C++?