Enforcing the use of API functions in Linux code

Julia Lawall, Gilles Muller, Nicolas Jean-Michel Palix

7 Citationer (Scopus)

Abstract

In the Linux kernel source tree, header files typically define
many small functions that have a simple behavior but are
critical to ensure readability, correctness, and maintainability.
We have observed, however, that some Linux code does not
use these functions systematically. In this paper, we propose
an approach combining rule-based program matching and
transformation with generative programming to generate
rules for finding and fixing code fragments that should use the
functions defined in header files. We illustrate our approach
using an in-depth study based on four typical functions
defined in the header file include/linux/usb.h.
OriginalsprogEngelsk
TitelProceedings of the 8th workshop on Aspects, components, and patterns for infrastructure software
Antal sider6
ForlagAssociation for Computing Machinery
Publikationsdato2009
Sider7-12
ISBN (Trykt)978-1-60558-450-8
DOI
StatusUdgivet - 2009
BegivenhedWorkshop on Aspects, components, and patterns for infrastructure software (ACP4IS 2009) - Charlottesville, VA, USA
Varighed: 2 mar. 20092 mar. 2009
Konferencens nummer: 8

Konference

KonferenceWorkshop on Aspects, components, and patterns for infrastructure software (ACP4IS 2009)
Nummer8
Land/OmrådeUSA
ByCharlottesville, VA
Periode02/03/200902/03/2009

Fingeraftryk

Dyk ned i forskningsemnerne om 'Enforcing the use of API functions in Linux code'. Sammen danner de et unikt fingeraftryk.

Citationsformater