ACM SIGSOFT Software Engineering Notes · 2004 · 21 citations · 24 references
ComputingComputer ScienceCompilersFault ToleranceProgramming LanguagesError DetectionGarbage CollectionMemory ManagementMemory SafetyMemory Safety VulnerabilitiesSoftware Fault ToleranceBuffer Overflow DetectionBuffer OverflowsGarbage Collection ErrorsGarbage Collection OverheadMemory Corruption DetectionMemory Error DetectionMemory Safety Bug DetectionSource Code Transformation
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.
24