• DocumentCode
    2087155
  • Title

    Lightweight Data-Flow Analysis for Execution-Driven Constraint Solving

  • Author

    Siddiqui, Junaid Haroon ; Marinov, Darko ; Khurshid, Sarfraz

  • Author_Institution
    Univ. of Texas at Austin, Austin, TX, USA
  • fYear
    2012
  • fDate
    17-21 April 2012
  • Firstpage
    91
  • Lastpage
    100
  • Abstract
    Constraint-based testing is a methodology for finding bugs in code, which has been successfully used for testing real systems. A key element of the methodology is generation of test inputs from input constraints, i.e., properties of desired inputs, which is performed by solving the constraints. We present a novel approach to optimize input generation from imperative constraints, i.e., constraints written as predicates in an imperative language. A well known technique for solving such constraints is execution-driven monitoring, where the given predicate is executed on candidate inputs to filter and prune invalid inputs, and generate valid ones. Our insight is that a lightweight static data-flow analysis of the given imperative constraint can enable more efficient solving. This paper describes an approach that embodies our insight and evaluates it using a suite of well-studied subject constraints. The experimental results show our approach provides substantial speedup over previous work.
  • Keywords
    data flow analysis; program debugging; program testing; constraint-based testing; execution-driven constraint solving; execution-driven monitoring; imperative constraint; imperative language; lightweight static data-flow analysis; subject constraints; Algorithm design and analysis; Binary search trees; Computer bugs; Heuristic algorithms; Instruments; Monitoring; Testing; Constraint-based testing; multi-value comparisons; static data-flow analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
  • Conference_Location
    Montreal, QC
  • Print_ISBN
    978-1-4577-1906-6
  • Type

    conf

  • DOI
    10.1109/ICST.2012.89
  • Filename
    6200100