Publication | Open Access
Feedback-driven dynamic invariant discovery
42
Citations
24
References
2014
Year
Unknown Venue
Program CheckingEngineeringMachine LearningVerificationCandidate InvariantsSoftware EngineeringSoftware AnalysisFormal VerificationData MiningCorrect InvariantsProgram InvariantsRuntime VerificationKnowledge DiscoveryComputer ScienceStatic Program AnalysisSoftware VerificationDiscovery TechniqueProgram AnalysisAutomated ReasoningSoftware TestingFormal MethodsStructure DiscoverySymbolic Execution
Program 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 refine the set of candidate invariants. This feedback loop is executed until a fix-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.
| Year | Citations | |
|---|---|---|
Page 1
Page 1