2008 · 408 citations · 21 references
ComputingComputer EngineeringComputer ScienceCompilersProgramming LanguagesTest ConstructionControl-flow AnalysisData-flow AnalysisSoftware TestingSymbolic ExecutionAutomated Test GenerationConcolic TestingControl Flow Graph AnalysisDepth-first SearchDynamic Symbolic ExecutionHeuristicsPath ExplosionTest Generation
Symbolic execution has successfully generated test inputs for small systems, but scaling to larger programs is hindered by the combinatorial explosion of the path space. The study proposes heuristic search strategies, including a control‑flow‑guided approach, to improve path‑space exploration for large‑scale concolic testing. These strategies were implemented in the open‑source CREST tool and evaluated on grep 2.2 and Vim 5.7. On these benchmarks, the heuristics delivered markedly higher branch coverage within the same testing budget compared to depth‑first search.
Recently there has been great success in using symbolic execution to automatically generate test inputs for small software systems. A primary challenge in scaling such approaches to larger programs is the combinatorial explosion of the path space. It is likely that sophisticated strategies for searching this path space are needed to generate inputs that effectively test large programs (by, e.g., achieving significant branch coverage). We present several such heuristic search strategies, including a novel strategy guided by the control flow graph of the program under test. We have implemented these strategies in CREST, our open source concolic testing tool for C, and evaluated them on two widely-used software tools, grep 2.2 (15 K lines of code) and Vim 5.7 (150 K lines). On these benchmarks, the presented heuristics achieve significantly greater branch coverage on the same testing budget than concolic testing with a traditional depth-first search strategy.
21
Symbolic execution and program testing
James C. King · Communications of the ACM · 1976 · 3K citations · Full text
Patrice Godefroid, Nils Klarlund, Koushik Sen · ACM SIGPLAN Notices · 2005 · 2.1K citations
Koushik Sen, Darko Marinov, Gul Agha · 2005 · 1.7K citations
Patrice Godefroid, Nils Klarlund, Koushik Sen · 2005 · 1.5K citations
Automated Whitebox Fuzz Testing.
Patrice Godefroid, Michael Y. Levin, David A. Molnar · 2008 · 1.1K citations