MemSafe: ensuring the spatial and temporal memory safety of C at runtime1. (2nd February 2012)
- Record Type:
- Journal Article
- Title:
- MemSafe: ensuring the spatial and temporal memory safety of C at runtime1. (2nd February 2012)
- Main Title:
- MemSafe: ensuring the spatial and temporal memory safety of C at runtime1
- Authors:
- Simpson, Matthew S.
Barua, Rajeev K. - Abstract:
- <abstract abstract-type="main" id="spe2105-abs-0001"> <title>SUMMARY</title> <p id="spe2105-para-0002">Memory access violations are a leading source of unreliability in C programs. As evidence of this problem, a variety of methods exist that retrofit C with software checks to detect memory errors at runtime. However, these methods generally suffer from one or more drawbacks including the inability to detect all errors, the use of incompatible metadata, the need for manual code modifications, and high runtime overheads. This paper presents a compiler analysis and transformation for ensuring the memory safety of C called MemSafe. MemSafe makes several novel contributions that improve upon previous work and lower the cost of safety. These include (i) a method for modeling temporal errors as spatial errors, (ii) a metadata representation that combines features of both object‐based and pointer‐based approaches, and (iii) a dataflow representation that simplifies optimizations for removing unneeded checks. MemSafe is capable of detecting real errors with lower overheads than previous efforts. Experimental results show that MemSafe detects all memory errors in six programs with known violations as well as two large and widely used open source applications. Finally, MemSafe ensures complete safety with an average overhead of 88% on 30 programs commonly used for evaluating the performance of error detection tools. Copyright © 2012 John Wiley & Sons, Ltd.</p> </abstract>
- Is Part Of:
- Software, practice & experience. Volume 43:Number 1(2013)
- Journal:
- Software, practice & experience
- Issue:
- Volume 43:Number 1(2013)
- Issue Display:
- Volume 43, Issue 1 (2013)
- Year:
- 2013
- Volume:
- 43
- Issue:
- 1
- Issue Sort Value:
- 2013-0043-0001-0000
- Page Start:
- 93
- Page End:
- 128
- Publication Date:
- 2012-02-02
- Subjects:
- Computer software -- Periodicals
Computer programming -- Periodicals
Computer programs -- Periodicals
005.3 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/spe.2105 ↗
- Languages:
- English
- ISSNs:
- 0038-0644
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 8321.453000
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 4099.xml