SPINFER: Inferring Semantic Patches for the Linux Kernel - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2020

SPINFER: Inferring Semantic Patches for the Linux Kernel

Abstract

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.
Fichier principal
Vignette du fichier
atc20-serrano.pdf (1.85 Mo) Télécharger le fichier
Origin Publisher files allowed on an open archive
Loading...

Dates and versions

hal-02906912 , version 1 (26-07-2020)

Identifiers

  • HAL Id : hal-02906912 , version 1

Cite

Lucas Serrano, Van-Anh Nguyen, Ferdian Thung, Lingxiao Jiang, David Lo, et al.. SPINFER: Inferring Semantic Patches for the Linux Kernel. USENIX Annual Technical Conference, Jul 2020, Boston / Virtual, United States. ⟨hal-02906912⟩
114 View
212 Download

Share

Gmail Mastodon Facebook X LinkedIn More