NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Feedback-Driven Dynamic Invariant DiscoveryProgram invariants can help software developers identify program properties that must be preserved as the software evolves, however, formulating correct invariants can be challenging. In this work, we introduce iDiscovery, a technique which leverages symbolic execution to improve the quality of dynamically discovered invariants computed by Daikon. Candidate invariants generated by Daikon are synthesized into assertions and instrumented onto the program. The instrumented code is executed symbolically to generate new test cases that are fed back to Daikon to help further re ne the set of candidate invariants. This feedback loop is executed until a x-point is reached. To mitigate the cost of symbolic execution, we present optimizations to prune the symbolic state space and to reduce the complexity of the generated path conditions. We also leverage recent advances in constraint solution reuse techniques to avoid computing results for the same constraints across iterations. Experimental results show that iDiscovery converges to a set of higher quality invariants compared to the initial set of candidate invariants in a small number of iterations.
Document ID
20150007883
Acquisition Source
Ames Research Center
Document Type
Conference Paper
External Source(s)
Authors
Zhang, Lingming
(Texas Univ. Austin, TX, United States)
Yang, Guowei
(Texas State Univ. Austin, TX, United States)
Rungta, Neha S.
(Stinger Ghaffarian Technologies, Inc. (SGT, Inc.) Moffett Field, CA, United States)
Person, Suzette
(NASA Langley Research Center Hampton, VA, United States)
Khurshid, Sarfraz
(Texas Univ. Austin, TX, United States)
Date Acquired
May 12, 2015
Publication Date
July 21, 2014
Subject Category
Mathematical And Computer Sciences (General)
Report/Patent Number
ARC-E-DAA-TN16136
Report Number: ARC-E-DAA-TN16136
Meeting Information
Meeting: International Symposium on Software Testing and Analysis
Location: San Jose, CA
Country: United States
Start Date: July 21, 2014
End Date: July 26, 2014
Sponsors: Association for Computing Machinery
Funding Number(s)
CONTRACT_GRANT: NSF CCF-0845628
CONTRACT_GRANT: NNA08CG83C
CONTRACT_GRANT: NSF CCF-1319688
CONTRACT_GRANT: NSF CNS-0958231
Distribution Limits
Public
Copyright
Public Use Permitted.
Keywords
Daikon
Symbolic Execution
Invariants
No Preview Available