DocumentCode :
1606689
Title :
DASE: Document-Assisted Symbolic Execution for Improving Automated Software Testing
Author :
Wong, Edmund ; Lei Zhang ; Song Wang ; Taiyue Liu ; Lin Tan
Author_Institution :
Electr. & Comput. Eng., Univ. of Waterloo, Waterloo, ON, Canada
Volume :
1
fYear :
2015
Firstpage :
620
Lastpage :
631
Abstract :
We propose and implement a new approach, Document-Assisted Symbolic Execution (DASE), to improve automated test generation and bug detection. DASE leverages natural language processing techniques and heuristics to analyze program documentation to extract input constraints automatically. DASE then uses the input constraints to guide symbolic execution to focus on inputs that are semantically more important.We evaluated DASE on 88 programs from 5 mature real-world software suites: COREUTILS, FINDUTILS, GREP, BINUTILS, and ELFTOOLCHAIN. DASE detected 12 previously unknown bugs that symbolic execution without input constraints failed to detect, 6 of which have already been confirmed by the developers. In addition, DASE increases line coverage, branch coverage, and call coverage by 14.2 -- 120.3%, 2.3 -- 167.7%, and 16.9 -- 135.2% respectively, which are 6.0 -- 21.1 percentage points (pp), 1.6 -- 18.9 pp, and 2.8 -- 20.1 pp increases. The accuracies of input constraint extraction are 97.8 -- 100%.
Keywords :
natural language processing; program debugging; program testing; system documentation; BINUTILS; COREUTILS; DASE; ELFTOOLCHAIN; FINDUTILS; GREP; automated software testing; automated test generation; branch coverage; bug detection; call coverage; document-assisted symbolic execution; line coverage; natural language processing techniques; program documentation; software suites; Arrays; Computer bugs; Geophysical measurement techniques; Grammar; Ground penetrating radar; Search problems; Testing; natural language processing; software testing; symbolic execution;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
Conference_Location :
Florence
Type :
conf
DOI :
10.1109/ICSE.2015.78
Filename :
7194611
Link To Document :
بازگشت