Context-Aware Trace Contracts
- Reiner Hähnle,
- ,
- Marco Scaletta
- Darmstadt University of Technology,
- University of Oslo
Research Output:
Conference Article in Proceeding or Book/Report chapter
Book chapter
Peer-reviewPublication Information
Output type
Research Output:
Conference Article in Proceeding or Book/Report chapter
Book chapter
Peer-reviewOriginal language
EnglishPages from-to (Number of pages)
Pages 289-322 (34 pages)Publication milestones
- Published - 2024
Publication status
Published - 2024
Place of publication
Springer, ChamPublisher
Springer, United States, GermanyBook series
- Book series name: Lecture Notes in Computer Science
Volume: 14360
ISSN: 0302-9743
ISBN (Print)
978-3-031-51059-5ISBN (Electronic)
978-3-031-51060-1Publication IDs
- Scopus: 85184279900
Host publication title
Active Object Languages: Current Research TrendsAbstract
The behavior of concurrent, asynchronous procedures depends in general on the call context, because of the global protocol that governs scheduling. This context cannot be specified with the state-based Hoare-style contracts common in deductive verification. Recent work generalized state-based to trace contracts, which permit to specify the internal behavior of a procedure, such as calls or state changes, but not its call context. In this article we propose a program logic of context-aware trace contracts for specifying global behavior of asynchronous programs. We also provide a sound proof system that addresses two challenges: To observe the program state not merely at the end points of a procedure, we introduce the novel concept of an observation quantifier. And to combat combinatorial explosion of possible call sequences of procedures, we transfer Liskov’s principle of behavioral subtyping to the analysis of asynchronous procedures.
Publication metrics
PlumX, opens in new tab
Citations
5
Access to documents
License:Unspecified
