Proceedings Article10.1109/TASE.2015.24
Verifying Interaction between Methods in Classes
Tingting Hu,Shuling Wang,Zongyan Qiu +2 more
- 12 Sep 2015
- pp 119-126
TL;DR: It is shown that if all the inherited methods of a subclass satisfy behavioral subtyping, then the subclass conforms to the algebraic specification of its superclass, i.e., there is no need to re-verify the conformance of the method implementations.
read more
Abstract: Algebraic specification is well-known in specifyingabstract data types. It could also play an important role inverifying the interrelation between methods in classes. In thispaper we develop a framework for verifying the conformanceof method implementations against an algebraic specification. Different from most existing work that perform testing atthe code level for the conformance, our approach verifies theconformance without touching the implementation details. Asanother contribution, we show that if all the inherited methods ofa subclass satisfy behavioral subtyping, then the subclass conformsto the algebraic specification of its superclass, i.e., there is no needto re-verify.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
References
Separation logic: a logic for shared mutable data structures
John C. Reynolds
- 22 Jul 2002
TL;DR: An extension of Hoare logic that permits reasoning about low-level imperative programs that use shared mutable data structure is developed, including extensions that permit unrestricted address arithmetic, dynamically allocated arrays, and recursive procedures.
A behavioral notion of subtyping
Barbara Liskov,Jeannette M. Wing +1 more
TL;DR: This paper presents a way of specifying types that makes it convenient to define the subtype relation, and discusses the ramifications of this notion of subtyping on the design of type families.
1.3K
Automatically checking an implementation against its formal specification
Sergio Antoy,Dick Hamlet +1 more
TL;DR: This work proposes checking the execution of an abstract data type's imperative implementation against its algebraic specification, which can be thought of as itself an implementation with maximum design diversity, and the validation as a form of multiversion-programming comparison.
121
Enhancing modular OO verification with separation logic
Wei-Ngan Chin,Cristina David,Huu Hai Nguyen,Shengchao Qin +3 more
- 07 Jan 2008
TL;DR: A fresh approach to OO verification is advocated that focuses on the distinction and relation between specifications that cater to calls with static dispatching from those for calls with dynamic dispatching, and formulate a novel specification subsumption that can avoid code re-verification, where possible.
69
Related Papers (5)
Nouha Abid,Silvano Dal Zilio,Didier Le Botlan +2 more
- 01 Jan 2011
Heinrich Hussmann
- 01 Jan 1993
[...]
Ligia Nistor,Jonathan Aldrich,Stephanie Balzer,Hannes Mehnert +3 more
- 12 May 2014