Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1605.07032

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Software Engineering

arXiv:1605.07032 (cs)
[Submitted on 23 May 2016]

Title:Do #ifdefs Influence the Occurrence of Vulnerabilities? An Empirical Study of the Linux Kernel

Authors:Gabriel Ferreira, Momin Malik, Christian Kästner, Jürgen Pfeffer, Sven Apel
View a PDF of the paper titled Do #ifdefs Influence the Occurrence of Vulnerabilities? An Empirical Study of the Linux Kernel, by Gabriel Ferreira and Momin Malik and Christian K\"astner and J\"urgen Pfeffer and Sven Apel
View PDF
Abstract:Preprocessors support the diversification of software products with #ifdefs, but also require additional effort from developers to maintain and understand variable code. We conjecture that #ifdefs cause developers to produce more vulnerable code because they are required to reason about multiple features simultaneously and maintain complex mental models of dependencies of configurable code.
We extracted a variational call graph across all configurations of the Linux kernel, and used configuration complexity metrics to compare vulnerable and non-vulnerable functions considering their vulnerability history. Our goal was to learn about whether we can observe a measurable influence of configuration complexity on the occurrence of vulnerabilities.
Our results suggest, among others, that vulnerable functions have higher variability than non-vulnerable ones and are also constrained by fewer configuration options. This suggests that developers are inclined to notice functions appear in frequently-compiled product variants. We aim to raise developers' awareness to address variability more systematically, since configuration complexity is an important, but often ignored aspect of software product lines.
Subjects: Software Engineering (cs.SE)
Cite as: arXiv:1605.07032 [cs.SE]
  (or arXiv:1605.07032v1 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.1605.07032
arXiv-issued DOI via DataCite

Submission history

From: Gabriel Ferreira [view email]
[v1] Mon, 23 May 2016 14:36:46 UTC (506 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Do #ifdefs Influence the Occurrence of Vulnerabilities? An Empirical Study of the Linux Kernel, by Gabriel Ferreira and Momin Malik and Christian K\"astner and J\"urgen Pfeffer and Sven Apel
  • View PDF
  • TeX Source
view license
Current browse context:
cs.SE
< prev   |   next >
new | recent | 2016-05
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Gabriel Ferreira
Momin M. Malik
Christian Kästner
Jürgen Pfeffer
Sven Apel
export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status