Efficient incremental algorithms for dynamic detection of likely invariants
Authors:
Open Access
- 31 October 2004
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGSOFT Software Engineering Notes
- Vol. 29 (6) , 23-32
Abstract
Dynamic detection of likely invariants is a program analysis that generalizes over observed values to hypothesize program properties. The reported program properties are a set of likely invariants over the program, also known as an operational abstraction. Operational abstractions are useful in testing, verification, bug detection, refactoring, comparing behavior, and many other tasks. Previous techniques for dynamic invariant detection scale poorly or report too few properties. Incremental algorithms are attractive because they process each observed value only once and thus scale well with data sizes. Previous incremental algorithms only checked and reported a small number of properties. This paper takes steps toward correcting this problem. The paper presents two new incremental algorithms for invariant detection and compares them analytically and experimentally to two existing algorithms. Furthermore, the paper presents four optimizations and shows how to implement them in the context of incremental algorithms. The result is more scalable invariant detection that does not sacrifice functionality.Keywords
This publication has 21 references indexed in Scilit:
- Improving the adaptability of multi-mode systems via program steering2004
- Early Identification of Incompatibilities in Multi-component UpgradesLecture Notes in Computer Science, 2004
- Predicting problems caused by component upgrades2003
- Discovering Algebraic Specifications from Java Classes2003
- Invariant inference for static checking:2002
- Tracking down software bugs using automatic anomaly detection2002
- Semantic anomaly detection in online data sources2002
- Dynamically discovering likely program invariants to support program evolutionIEEE Transactions on Software Engineering, 2001
- Event-based detection of concurrency1998
- Discovering models of software processes from event-based dataACM Transactions on Software Engineering and Methodology, 1998