DocumentCode :
2475154
Title :
A new static pointer dereference detecting method based on finite-state machine
Author :
Chen, Zhong-xiang ; Zhan, Jin-yu ; Hao, Zong-bo
Author_Institution :
Sch. of Software, Univ. of Electron. Sci. & Technol. of China, Chengdu, China
fYear :
2010
fDate :
17-19 Dec. 2010
Firstpage :
392
Lastpage :
397
Abstract :
A new static pointer dereference detecting method based on the finite-state machine is presented, and the definition of the finite-state machine for pointer-state transition is given. According to the semantic analysis of source codes, the point-to information is gotten and the mapping relationship between the pointers and the memory units is built up to judge whether the pointer is legal to use. This method not only records the scope and pointer sets of the variable, but also analyses point-to including the definite and the possible, which increase the efficiency of pointer dereference analysis and can detect the problems of the bad deallocation. Finally, the experimental results show that this method can detect invalid pointer dereference and bad deallocation effectively.
Keywords :
finite state machines; program debugging; finite state machine; pointer state transition; semantic analysis; source codes; static pointer dereference detecting method; Accuracy; Context; Control systems; Data structures; Object recognition; Syntactics; Transforms;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Apperceiving Computing and Intelligence Analysis (ICACIA), 2010 International Conference on
Conference_Location :
Chengdu
Print_ISBN :
978-1-4244-8025-8
Type :
conf
DOI :
10.1109/ICACIA.2010.5709927
Filename :
5709927
Link To Document :
بازگشت