作者
Dinakar Dhurjati, Vikram Adve
发表日期
2006/5/28
图书
Proceedings of the 28th international conference on Software engineering
页码范围
162-171
简介
The problem of enforcing correct usage of array and pointer references in C and C++ programs remains unsolved. The approach proposed by Jones and Kelly (extended by Ruwase and Lam) is the only one we know of that does not require significant manual changes to programs, but it has extremely high overheads of 5x-6x and 11x-12x in the two versions. In this paper, we describe a collection of techniques that dramatically reduce the overhead of this approach, by exploiting a fine-grain partitioning of memory called Automatic Pool Allocation. Together, these techniques bring the average overhead checks down to only 12% for a set of benchmarks (but 69% for one case). We show that the memory partitioning is key to bringing down this overhead. We also show that our technique successfully detects all buffer overrun violations in a test suite modeling reported violations in some important real-world programs.
引用总数
20052006200720082009201020112012201320142015201620172018201920202021202220232024261910152515102113211919201018111095
学术搜索中的文章
D Dhurjati, V Adve - Proceedings of the 28th international conference on …, 2006