Efficient detection of dangling pointer error for C/C++ programs

Autor: Wenzhe Zhang
Rok vydání: 2017
Předmět:
Zdroj: Journal of Physics: Conference Series. 887:012053
ISSN: 1742-6596
1742-6588
DOI: 10.1088/1742-6596/887/1/012053
Popis: Dangling pointer error is pervasive in C/C++ programs and it is very hard to detect. This paper introduces an efficient detector to detect dangling pointer error in C/C++ programs. By selectively leave some memory accesses unmonitored, our method could reduce the memory monitoring overhead and thus achieves better performance over previous methods. Experiments show that our method could achieve an average speed up of 9% over previous compiler instrumentation based method and more than 50% over previous page protection based method.
Databáze: OpenAIRE