News for hackers. Stuff that matters.
Re:CompCert – A formally verified C compiler by jpfr on Tuesday January 22, 2019 @02:47PM (#18971710)
The above assumes that the same C compiler is used everywhere. Say you suspect your gcc to be infected. If a second compiler, say clang, can compile the gcc sources and this gcc then recompiles itself bit-identical to the original, then gcc and clang would both have to be (mutually compatible) infected.

Another way is to bootstrap up to a C compiler from machine-language upwards. So that every "level upgrade" in the bootstrap chain can be verified independently.

http://bootstrappable.org/

Here is one bootstrapping effort:

https://github.com/oriansj/stage0

There are no comments on this comment yet.