Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl...
by yencabulator on Sunday March 31, 2024 @11:51AM
(#39885331)
It's a "does this compile on this platform" test, not a "does this function return what we expect" test.
And tooling is no exception either. You should have tests that your tooling does the things it says on the tin and that things happen when flags are set and things don’t happen when they’re not set, and that the tooling sets the flags in the way you expect.
These aren’t even controversial statements in the JVM world etc. Just C tooling is largely still living in the 70s apart from abortive attempts to build the jenga tower even taller like autotools/autoconf/cmake/etc (incomprehensible, may god have mercy on your build). At least hand written make files are comprehensible tbh.