The Devil Is in the Command Line: Associating the Compiler Flags With the Binary and Build Metadata
Open Access
- 14 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 134-136
Abstract
Engineers build large software systems for multiple architectures, operating systems, and configurations. A set of inconsistent or missing compiler flags generates code that catastrophically impacts the system's behavior. In the authors' industry experience, defects caused by an undesired combination of compiler flags are common in nontrivial software projects. We are unaware of any build and CI/CD systems that track how the compiler produces a specific binary in a structured manner. We postulate that a queryable database of how the compiler compiled and linked the software system will help to detect defects earlier and reduce the debugging time.Keywords
All Related Versions
This publication has 5 references indexed in Scilit:
- Reproducible Builds: Increasing the Integrity of Software Supply ChainsIEEE Software, 2021
- DLL Hell: Software Dependencies, Failure, and the Maintenance of Microsoft WindowsIEEE Annals of the History of Computing, 2018
- Build systems à la carteProceedings of the ACM on Programming Languages, 2018
- Changing microsoft's build: revolution or evolution2016
- Statistical selection of compiler options2004