• DocumentCode
    3516114
  • Title

    Fitness-guided path exploration in dynamic symbolic execution

  • Author

    Xie, Tao ; Tillmann, Nikolai ; De Halleux, Jonathan ; Schulte, Wolfram

  • Author_Institution
    Dept. of Comput. Sci., North Carolina State Univ., Raleigh, NC, USA
  • fYear
    2009
  • fDate
    June 29 2009-July 2 2009
  • Firstpage
    359
  • Lastpage
    368
  • Abstract
    Dynamic symbolic execution is a structural testing technique that systematically explores feasible paths of the program under test by running the program with different test inputs to improve code coverage. To address the space-explosion issue in path exploration, we propose a novel approach called Fitnex, a search strategy that uses state-dependent fitness values (computed through a fitness function) to guide path exploration. The fitness function measures how close an already discovered feasible path is to a particular test target (e.g., covering a not-yet-covered branch). Our new fitness-guided search strategy is integrated with other strategies that are effective for exploration problems where the fitness heuristic fails. We implemented the new approach in Pex, an automated structural testing tool developed at Microsoft Research. We evaluated our new approach by comparing it with existing search strategies. The empirical results show that our approach is effective since it consistently achieves high code coverage faster than existing search strategies.
  • Keywords
    program control structures; program diagnostics; program testing; tree searching; Fitnex approach; Microsoft Research; Pex approach; automated structural testing tool; code coverage; dynamic symbolic execution; empirical results; fitness function measure; fitness-guided breadth first search heuristic strategy; fitness-guided program path exploration; not-yet-covered branch; space-explosion issue; state-dependent fitness value; structural program testing technique; Automatic testing; Buildings; Computer bugs; Computer science; Concrete; Contracts; Particle measurements; Performance evaluation; Software testing; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Dependable Systems & Networks, 2009. DSN '09. IEEE/IFIP International Conference on
  • Conference_Location
    Lisbon
  • Print_ISBN
    978-1-4244-4422-9
  • Electronic_ISBN
    978-1-4244-4421-2
  • Type

    conf

  • DOI
    10.1109/DSN.2009.5270315
  • Filename
    5270315