The Devil Is in the Command Line: Associating the Compiler Flags With the Binary and Build Metadata

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Kudrjavets, Gunnar, Kumar, Aditya, Thomas, Jeff, Rastogi, Ayushi
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929200561127424
author Kudrjavets, Gunnar
Kumar, Aditya
Thomas, Jeff
Rastogi, Ayushi
author_facet Kudrjavets, Gunnar
Kumar, Aditya
Thomas, Jeff
Rastogi, Ayushi
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2312_13463
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle The Devil Is in the Command Line: Associating the Compiler Flags With the Binary and Build Metadata
Kudrjavets, Gunnar
Kumar, Aditya
Thomas, Jeff
Rastogi, Ayushi
Software Engineering
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.
title The Devil Is in the Command Line: Associating the Compiler Flags With the Binary and Build Metadata
topic Software Engineering
url https://arxiv.org/abs/2312.13463