NASA Logo

NTRS

NTRS - NASA Technical Reports Server

The auto‑search feature has been disabled based on user feedback. Enter a search term/phrase and click “Search” to begin.

Back to Results
Improving Coverage of Test Cases Generated by Symbolic PathFinder for Programs with LoopsSymbolic execution is a program analysis technique that is used for many purposes, one of which is test-case generation. For loop-free programs, this generates a test-set that achieves path coverage. Program loops, however, imply exponential growth of the number of paths in the best case and non-termination in the worst case. In practice, the number of loop unwindings needs to be bounded for analysis. We consider symbolic execution in the context of the tool Symbolic Pathfinder. This tool extends the model-checker Java Pathfinder and relies on its bounded state-space exploration for termination. We present an implementation of k-bounded loop unwinding, which increases the amount of user-control over the symbolic execution of loops. Bounded unwinding can be viewed as a naive way to prune paths through loops. When using symbolic execution for test-case generation, naively pruning paths is likely at the cost of coverage. In order to improve coverage of branches within a loop body, we present a technique that semi-automatically concretizes variables used in a loop. The basic technique is limited and we therefore present annotations to manually steer symbolic execution towards certain branches, as well as ideas on how the technique can be extended to be more widely applicable.
Document ID
20190001995
Acquisition Source
Ames Research Center
Document Type
Conference Paper
Authors
Kersten, Rody
(Radboud Univ. Nijmegen, Netherlands)
Person, Suzette
(NASA Langley Research Center Hampton, VA, United States)
Rungta, Neha
(Stinger Ghaffarian Technologies Inc. (SGT Inc.) Moffett Field, CA, United States)
Tkachuk, Oksana
(Stinger Ghaffarian Technologies Inc. (SGT Inc.) Moffett Field, CA, United States)
Date Acquired
March 29, 2019
Publication Date
November 7, 2014
Subject Category
Computer Programming And Software
Report/Patent Number
ARC-E-DAA-TN19779
Report Number: ARC-E-DAA-TN19779
Meeting Information
Meeting: Java PathFinder Workshop 2014
Location: Salt Lake City, UT
Country: United States
Start Date: November 7, 2014
Sponsors: Utah Univ.
Funding Number(s)
CONTRACT_GRANT: NNA08CG83C
CONTRACT_GRANT: NNA14AA60C
Distribution Limits
Public
Copyright
Public Use Permitted.
Keywords
Programs With Loops
Coverage
Symbolic Execution
No Preview Available