DocumentCode :
3031262
Title :
Generic Patch Inference
Author :
Andersen, Jesper ; Lawall, Julia L.
Author_Institution :
DIKU, Univ. of Copenhagen, Copenhagen
fYear :
2008
fDate :
15-19 Sept. 2008
Firstpage :
337
Lastpage :
346
Abstract :
A key issue in maintaining Linux device drivers is the need to update drivers in response to evolutions in Linux internal libraries. Currently, there is little tool support for performing and documenting such changes. In this paper we present a tool, spdiff, that identifies common changes made in a set of pairs of files and their updated versions, and extracts a generic patch performing those changes. Library developers can use our tool to extract a generic patch based on the result of manually updating a few typical driver files, and then apply this generic patch to other drivers. Driver developers can use it to extract an abstract representation of the set of changes that others have made. Our experiments on recent changes in Linux show that the inferred generic patches are more concise than the corresponding patches found in commits to the Linux source tree while being safe with respect to the changes performed in the provided pairs of driver files.
Keywords :
Linux; device drivers; program diagnostics; software libraries; software maintenance; software tools; Linux device driver maintenance; Linux internal library; abstract representation; generic patch inference; spdiff tool; Capacitive sensors; Libraries; Linux; Open source software; Standards development;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Automated Software Engineering, 2008. ASE 2008. 23rd IEEE/ACM International Conference on
Conference_Location :
L´Aquila
ISSN :
1938-4300
Print_ISBN :
978-1-4244-2187-9
Electronic_ISBN :
1938-4300
Type :
conf
DOI :
10.1109/ASE.2008.44
Filename :
4639337
Link To Document :
بازگشت