Codecomb:Automated Test Case Generation and Defect Detecting for Embedded Software Based on Symbolic Execution

Wen-sheng GUO,Yong WANG,Xia YANG,Min GAO
2017-01-01
Abstract:With the more extensive use and of higher demand of the embedded systems in industry,military and daily life,reliability of the embedded software becomes a critical issue.Thus it is important to design a test harness that can test embedded software comprehensively and systematically.In this paper we present our design solution and corresponding tool— Codecomb.Codecomb exploits Client and Server architecture to achieve the isolation of testing tools and program under test such that complex computing job is performed in the server side.This isolated structure can be used to the testing of various embedded platform software as well.Codecomb also exploits dynamic symbolic execution method that is able to achieve high branch coverage to generated test cases.Therefore program deficiency check is performed more comprehensively with possibility of finding deeper hidden bugs.Experiment result shows that Codecomb can detect program deficiency automatically,and precisely locate errors such as buffer overflow,memory leak in a running program.
What problem does this paper attempt to address?