• DocumentCode
    231276
  • Title

    Automated Coverage-Driven Test Data Generation Using Dynamic Symbolic Execution

  • Author

    Ting Su ; Geguang Pu ; Bin Fang ; Jifeng He ; Jun Yan ; Siyuan Jiang ; Jianjun Zhao

  • Author_Institution
    Shanghai Key Lab. of Trustworthy Comput., East China Normal Univ., Shanghai, China
  • fYear
    2014
  • fDate
    June 30 2014-July 2 2014
  • Firstpage
    98
  • Lastpage
    107
  • Abstract
    Recently code transformations or tailored fitness functions are adopted to achieve coverage (structural or logical criterion) driven testing to ensure software reliability. However, some internal threats like negative impacts on underlying search strategies or local maximum exist. So we propose a dynamic symbolic execution (DSE) based framework combined with a path filtering algorithm and a new heuristic path search strategy, i.e., predictive path search, to achieve faster coverage-driven testing with lower testing cost. The empirical experiments (three open source projects and two industrial projects) show that our approach is effective and efficient. For the open source projects w.r.t branch coverage, our approach in average reduces 25.5% generated test cases and 36.3% solved constraints than the traditional DSE-based approach without path filtering. And the presented heuristic strategy, on the same testing budget, improves the branch coverage by 26.4% and 35.4% than some novel search strategies adopted in KLEE and CREST.
  • Keywords
    program testing; software reliability; DSE based framework; automated coverage-driven test data generation; branch coverage; code transformations; dynamic symbolic execution; fitness functions; heuristic path search strategy; path filtering algorithm; predictive path search; software reliability; Educational institutions; Electronic mail; Engines; Heuristic algorithms; Prediction algorithms; Search problems; Testing; coverage criteria; software testing; symbolic execution;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Security and Reliability (SERE), 2014 Eighth International Conference on
  • Conference_Location
    San Francisco, CA
  • Print_ISBN
    978-1-4799-4296-1
  • Type

    conf

  • DOI
    10.1109/SERE.2014.23
  • Filename
    6895420