Problems: Fewer alternative C++ compilers, so harder to test against 'Trusting Trust' attack
Posted Jun 18, 2008 18:55 UTC (Wed) by
dwheeler (guest, #1216)
In reply to:
Converting GCC to C++ by pynm0001
Parent article:
Converting GCC to C++
There is a downside: Countering the "Trusting Trust" attack (as made well-known by Ken Thompson). There _IS_ a counter to this attack, but it requires have a second C++ compiler that isn't subverted the same way.
It's relatively easy to develop a C compiler that generates running code (may not be efficient, but it runs). It's harder to create a C++ compiler. Thus, there are more C compilers, which can act as a check on the gcc C compiler.
(
Log in to post comments)