arrow
Return

Dynamically discovering likely program invariants to support program evolution

delete2001-02-01
delete563
PRE
AI
E
Ernst, MD
J
Jake Cockrell
W
William G. Griswold
D
David Notkin
DOI:10.1109/32.908957delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Explicitly stated program invariants can help programmers by identifying program properties that must be preserved when modifying code. In practice, however, these invariants are usually implicit. An alternative to expecting programmers to fully annotate code with invariants is to automatically infer likely invariants from the program itself. This research focuses on dynamic techniques for discovering invariants from execution traces. This article reports three results. First, it describes techniques for dynamically discovering invariants, along with an implementation, named Daikon, that embodies these techniques. Second, it reports on the application of Daikon to two sets of target programs. In programs from Gries's work on program derivation, the system rediscovered predefined invariants. In a C program lacking explicit invariants, the system discovered invariants that assisted a software evolution task. These experiments demonstrate that, at least for small programs, invariant inference is both accurate and useful. Third, it analyzes scalability issues, such as invariant detection runtime and accuracy, as functions of test suites and program points instrumented.
Keywords:
program invariants
formal specification
software evolution
dynamic analysis
execution traces
logical inference
pattern recognition
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.8K
Citations:
1.1W

Organization

No organization information available
Cited Papers

Cited Papers

Consolidation patterns during initiation and evolution of a plate-boundary decollement zone: Northern Barbados accretionary prism
err1998-01-01
err0
PREAI
errJ. Casey Moore; Adam Klaus; Nathan L. Bangs; Barbara Bekins; Christian J. Bücker; Warner Brückmann; Stephanie N. Erickson; Olav Hansen; Thomas Horton; Peter Ireland; Candace Olson Major; Gregory F. Moore; Sheila Peacock; Saneatsu Saito; Elizabeth J. Screaton; John W. Shimeld; Philip Henry Stauffer; Tuncay Taymaz; Philip A. Teas; Tomochika Tokunaga
errShare
errSave
Characterization of Granular and Polymer‐Embedded RDX Grades: Floret Tests
err2016-01-18
err0
PREAI
errAntoine E. D. M. van der Heijden; Richard H. B. Bouma
errShare
errSave
Chromatic and luminance interactions in spatial contrast signals
err1998-04-01
err0
PREAI
errJONATHAN D. VICTOR; KEITH P. PURPURA; MARY M. CONTE
errShare
errSave
errShare
errSave
errShare
errSave
researcher View more