W.-N. Chin
Enhancing Modular OO Verification with Separation Logic
Chin, W.-N.; David, C.; Nguyen, H.H.; Qin, S.; Necula, G.C.; Wadler, P.
Authors
C. David
H.H. Nguyen
S. Qin
G.C. Necula
P. Wadler
Abstract
Conventional specifications for object-oriented (OO) programs must adhere to behavioral subtyping in support of class inheritance and method overriding. However, this requirement inherently weakens the specifications of overridden methods in superclasses, leading to imprecision during program reasoning. To address this, we advocate a fresh approach to OO verification that focuses on the distinction and relation between specifications that cater to calls with static dispatching from those for calls with dynamic dispatching. We formulate a novel specification subsumption that can avoid code re-verification, where possible. Using a predicate mechanism, we propose a flexible scheme for supporting class invariant and lossless casting. Our aim is to lay the foundation for a practical verification system that is precise, concise and modular for sequential OO programs. We exploit the separation logic formalism to achieve this.
Citation
Chin, W.-N., David, C., Nguyen, H., Qin, S., Necula, G., & Wadler, P. (2008, January). Enhancing Modular OO Verification with Separation Logic. Presented at The 35th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2008), San Francisco, USA
Presentation Conference Type | Conference Paper (published) |
---|---|
Conference Name | The 35th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2008) |
Start Date | Jan 10, 2008 |
End Date | Jan 12, 2008 |
Publication Date | Jan 1, 2008 |
Deposit Date | Nov 16, 2009 |
Volume | 43 |
Pages | 87-99 |
Series Title | ACM conference proceedings. |
Series Number | 1 |
Series ISSN | 0362-1340 |
Book Title | 35th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, 7-12 January, 2008, San Francisco, California, USA ; proceedings. |
DOI | https://doi.org/10.1145/1328897.1328452 |
Keywords | Automated verification, Enhanced subsumption, Separation. |
Public URL | https://durham-repository.worktribe.com/output/1160481 |
You might also like
PTSC: probability, time and shared-variable concurrency
(2009)
Journal Article
Verifying BPEL-like Programs with Hoare Logic
(2008)
Journal Article
An Algebraic Hardware/Software Partitioning Algorithm
(2002)
Journal Article
From statecharts to verilog : a formal approach to hardware/software co-specification
(2006)
Journal Article