DocumentCode
691810
Title
A Dynamic Detection Method to C/C++ Programs Memory Vulnerabilities Based on Pointer Analysis
Author
Rui Ma ; Lingkui Chen ; Changzhen Hu ; Jingfeng Xue ; Xiaolin Zhao
Author_Institution
Sch. of Software, Beijing Inst. of Technol., Beijing, China
fYear
2013
fDate
21-22 Dec. 2013
Firstpage
52
Lastpage
57
Abstract
Aiming at the problem of higher memory consumption and lower execution efficiency during the dynamic detecting to C/C++ programs memory vulnerabilities, this paper presents a dynamic detection method called ISC. The ISC improves the Safe-C using pointer analysis technology. Firstly, the ISC defines a simple and efficient fat pointer representation instead of the safe pointer in the Safe-C. Furthermore, the ISC uses the unification-based analysis algorithm with one level flow static pointer. This identification reduces the number of pointers that need to be converted to fat pointers. Then in the process of program running, the ISC detects memory vulnerabilities through constantly inspecting the attributes of fat pointers. Experimental results indicate that the ISC could detect memory vulnerabilities such as buffer overflows and dangling pointers. Comparing with the Safe-C, the ISC dramatically reduces the memory consumption and lightly improves the execution efficiency.
Keywords
object-oriented programming; program diagnostics; security of data; software reliability; storage management; C program memory vulnerabilities; C++ program memory vulnerabilities; ISC; Safe-C; buffer overflows; dangling pointers; dynamic detection method; fat pointer representation; memory consumption; one level flow static pointer; pointer analysis technology; unification-based analysis algorithm; Accuracy; Algorithm design and analysis; Arrays; Benchmark testing; Buffer overflows; Memory management; Performance analysis; dynamic detecting; fat pointer; improved Safe-C; memory vulnerability; pointer analysis;
fLanguage
English
Publisher
ieee
Conference_Titel
Dependable, Autonomic and Secure Computing (DASC), 2013 IEEE 11th International Conference on
Conference_Location
Chengdu
Print_ISBN
978-1-4799-3380-8
Type
conf
DOI
10.1109/DASC.2013.37
Filename
6844337
Link To Document