DocumentCode :
596242
Title :
An Interval-Based Model for Detecting Software Defect Using Alias Analysis
Author :
Hongbo Zhou ; Dahai Jin ; Yunzhan Gong
Author_Institution :
State Key Lab. of Networking & Switching Technol., Beijing Univ. of Posts & Telecommun., Beijing, China
Volume :
2
fYear :
2012
fDate :
4-7 Dec. 2012
Firstpage :
136
Lastpage :
144
Abstract :
Alias analysis is a branch of static program analysis aiming at computing variables which are alias of each other. It is a basis research for many analyses and optimizations in software engineering and compiler construction. Precise modeling of alias analysis is fundamental for software analysis. This paper presents two practical approximation models for representing and computing alias: memory-sensitive model (MSM) and value-sensitive model (VSM). Based on defect-oriented detecting, we present a method to detect software defect using VSM and MSM, which realizes inter-procedure detecting by procedure summary. According to whether type of analysis object coming from defect is value-sensitive or memory-sensitive, we propose two detecting algorithms based on two alias models respectively. One is for memory leak (ML) based on MSM, and the other is for invalid arithmetic operation (IAO) based on VSM. We apply a defect testing system (DTS) to detect six C++ open source projects for proving our models effectiveness. Experimental results show that applying our technique to detect IAO and ML defect can improve detecting efficiency, at the same time reduce potential false positives and false negatives.
Keywords :
C++ language; approximation theory; program compilers; program diagnostics; software engineering; C++ open source project; alias analysis; approximation model; compiler construction optimization; defect testing system; defect-oriented detecting; interprocedure detection; interval-based model; invalid arithmetic operation; memory-sensitive model; software analysis; software defect detection; software engineering optimization; static program analysis; value-sensitive model; Abstracts; Algorithm design and analysis; Analytical models; Argon; Automata; Computational modeling; Software; alias analysis; defect detection; interval computation; procedure summary; static analysis;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference (APSEC), 2012 19th Asia-Pacific
Conference_Location :
Hong Kong
ISSN :
1530-1362
Print_ISBN :
978-1-4673-4930-7
Type :
conf
DOI :
10.1109/APSEC.2012.14
Filename :
6462792
Link To Document :
بازگشت