NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An efficient and backwards-compatible transformation to ensure memory safety of C programs

Wei Xu, Daniel C. DuVarney, R. SekarACM SIGSOFT Software Engineering Notes 2004

Abstract

Memory-related errors, such as buffer overflows and dangling pointers, remain one of the principal reasons for failures of C programs. As a result, a number of recent research efforts have focused on the problem of dynamic detection of memory errors in C programs. However, existing approaches suffer from one or more of the following problems: inability to detect all memory errors (e.g., Purify), requiring non-trivial modifications to existing C programs (e.g., Cyclone), changing the memory management model of C to use garbage collection (e.g., CCured), and excessive performance overheads. In this paper, we present a new approach that addresses these problems. Our approach operates via source code transformation and combines efficient data-structures with simple, localized optimizations to obtain good performance.
BibTeX
@inproceedings{xu2004efficient,
  author = {Wei Xu and Daniel C. DuVarney and R. Sekar},
  title = {{An efficient and backwards-compatible transformation to ensure memory safety of C programs}},
  booktitle = {ACM SIGSOFT Software Engineering Notes},
  year = {2004},
  doi = {10.1145/1041685.1029913},
}

Loading related content...

Figure