Oops! Where Did That Code Snippet Come From? - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2014

Oops! Where Did That Code Snippet Come From?

Abstract

A kernel oops is an error report that logs the status of the Linux kernel at the time of a crash. Such a report can provide valuable first-hand information for a Linux kernel maintainer to conduct postmortem debugging. Recently, a repository has been created that systematically collects kernel oopses from Linux users. However, debugging based on only the information in a kernel oops is difficult. We consider the initial problem of finding the offending line, i.e., the line of source code that incurs the crash. For this, we propose a novel algorithm based on approximate sequence matching, as used in bioinformatics, to automatically pinpoint the offending line based on information about nearby machine-code instructions, as found in a kernel oops. Our algorithm achieves 92% accuracy compared to 26% for the traditional approach of using only the oops instruction pointer.
Fichier principal
Vignette du fichier
msr2014.pdf (539.79 Ko) Télécharger le fichier
Origin Files produced by the author(s)
Loading...

Dates and versions

hal-01080397 , version 1 (05-11-2014)

Identifiers

Cite

Lisong Guo, Julia Lawall, Gilles Muller. Oops! Where Did That Code Snippet Come From?. MSR 2014 - 11th Working Conference on Mining Software Repositories, May 2014, Hyderabad, India. pp.52-61, ⟨10.1145/2597073.2597094⟩. ⟨hal-01080397⟩
119 View
323 Download

Altmetric

Share

Gmail Mastodon Facebook X LinkedIn More