SPINFER: Inferring semantic patches for the Linux kernel

In a large software system such as the Linux kernel, there is a continual need for large-scale changes across many source files, triggered by new needs or refined design decisions. In this paper, we propose to ease such changes by suggesting transformation rules to developers, inferred automatically...

Full description

Saved in:
Bibliographic Details
Main Authors: SERRANO, Lucas, NGUYEN, Van-Anh, THUNG, Ferdian, JIANG, Lingxiao, LO, David, LAWALL, Julia, MULLER, Gilles
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2020
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/5538
https://ink.library.smu.edu.sg/context/sis_research/article/6541/viewcontent/usenixATC20spiner.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-6541
record_format dspace
spelling sg-smu-ink.sis_research-65412021-05-12T01:38:19Z SPINFER: Inferring semantic patches for the Linux kernel SERRANO, Lucas NGUYEN, Van-Anh THUNG, Ferdian JIANG, Lingxiao LO, David LAWALL, Julia MULLER, Gilles In a large software system such as the Linux kernel, there is a continual need for large-scale changes across many source files, triggered by new needs or refined design decisions. In this paper, we propose to ease such changes by suggesting transformation rules to developers, inferred automatically from a collection of examples. Our approach can help automate large-scale changes as well as help understand existing large-scale changes, by highlighting the various cases that the developer who performed the changes has taken into account. We have implemented our approach as a tool, Spinfer. We evaluate Spinfer on a range of challenging large-scale changes from the Linux kernel and obtain rules that achieve 86% precision and 69% recall on average. 2020-07-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/5538 https://ink.library.smu.edu.sg/context/sis_research/article/6541/viewcontent/usenixATC20spiner.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Software Engineering
spellingShingle Software Engineering
SERRANO, Lucas
NGUYEN, Van-Anh
THUNG, Ferdian
JIANG, Lingxiao
LO, David
LAWALL, Julia
MULLER, Gilles
SPINFER: Inferring semantic patches for the Linux kernel
description In a large software system such as the Linux kernel, there is a continual need for large-scale changes across many source files, triggered by new needs or refined design decisions. In this paper, we propose to ease such changes by suggesting transformation rules to developers, inferred automatically from a collection of examples. Our approach can help automate large-scale changes as well as help understand existing large-scale changes, by highlighting the various cases that the developer who performed the changes has taken into account. We have implemented our approach as a tool, Spinfer. We evaluate Spinfer on a range of challenging large-scale changes from the Linux kernel and obtain rules that achieve 86% precision and 69% recall on average.
format text
author SERRANO, Lucas
NGUYEN, Van-Anh
THUNG, Ferdian
JIANG, Lingxiao
LO, David
LAWALL, Julia
MULLER, Gilles
author_facet SERRANO, Lucas
NGUYEN, Van-Anh
THUNG, Ferdian
JIANG, Lingxiao
LO, David
LAWALL, Julia
MULLER, Gilles
author_sort SERRANO, Lucas
title SPINFER: Inferring semantic patches for the Linux kernel
title_short SPINFER: Inferring semantic patches for the Linux kernel
title_full SPINFER: Inferring semantic patches for the Linux kernel
title_fullStr SPINFER: Inferring semantic patches for the Linux kernel
title_full_unstemmed SPINFER: Inferring semantic patches for the Linux kernel
title_sort spinfer: inferring semantic patches for the linux kernel
publisher Institutional Knowledge at Singapore Management University
publishDate 2020
url https://ink.library.smu.edu.sg/sis_research/5538
https://ink.library.smu.edu.sg/context/sis_research/article/6541/viewcontent/usenixATC20spiner.pdf
_version_ 1770575503719137280