DocumentCode
628212
Title
Hector: Detecting Resource-Release Omission Faults in error-handling code for systems software
Author
Saha, Simanto ; Lozi, Jean-Pierre ; Thomas, Gael ; Lawall, Julia L. ; Muller, Gunter
Author_Institution
LIP6-Regal, France
fYear
2013
fDate
24-27 June 2013
Firstpage
1
Lastpage
12
Abstract
Omitting resource-release operations in systems error handling code can lead to memory leaks, crashes, and deadlocks. Finding omission faults is challenging due to the difficulty of reproducing system errors, the diversity of system resources, and the lack of appropriate abstractions in the C language. To address these issues, numerous approaches have been proposed that globally scan a code base for common resource-release operations. Such macroscopic approaches are notorious for their many false positives, while also leaving many faults undetected. We propose a novel microscopic approach to finding resource-release omission faults in systems software. Rather than generalizing from the entire source code, our approach focuses on the error-handling code of each function. Using our tool, Hector, we have found over 370 faults in six systems software projects, including Linux, with a 23% false positive rate. Some of these faults allow an unprivileged malicious user to crash the entire system.
Keywords
C language; authorisation; program testing; resource allocation; software fault tolerance; software management; source coding; C language; Hector tool; Linux; macroscopic approaches; memory leaks; microscopic approach; resource-release omission fault detection; resource-release operations; software projects; source code; system error handling code; system software; Computer crashes; Kernel; Linux; Protocols; Runtime; System recovery;
fLanguage
English
Publisher
ieee
Conference_Titel
Dependable Systems and Networks (DSN), 2013 43rd Annual IEEE/IFIP International Conference on
Conference_Location
Budapest
ISSN
1530-0889
Print_ISBN
978-1-4673-6471-3
Type
conf
DOI
10.1109/DSN.2013.6575307
Filename
6575307
Link To Document