3 ms·
Only if your version of the 8cc binary doesn't have GCC in it's compiler heritage, which it probably does. The blog actually goes into this a bit, stating that
by rocqua 10y ago
Only if your version of the 8cc binary doesn't have GCC in it's compiler heritage, which it probably does.
The blog actually goes into this a bit, stating that the byte-value of '\n' never occurs in the source-code of 8cc. Instead, that value comes from gcc. It is entirely possible that gcc has the same property, eventually the source could be a hand-written compiler.
Really, to get around trusting trust, you need a compiler who's entire lineage you know (up to the hand-written compiler) and trust.