Expressive program verification via structured specifications

被引:0
|
作者
Cristian Gherghina
Cristina David
Shengchao Qin
Wei-Ngan Chin
机构
[1] Singapore University of Technology and Design,
[2] University of Oxford,undefined
[3] Shenzhen University,undefined
[4] Teesside University,undefined
[5] National University of Singapore,undefined
关键词
Structured specifications; Separation logic; Case analysis;
D O I
暂无
中图分类号
学科分类号
摘要
Conventional specifications typically have a flat structure that is based primarily on the underlying logic. Such specifications lack structures that could provide better guidance to the verification process. In this work, we propose to add three new structures to a specification framework for separation logic to achieve a more precise and better guided verification for pointer-based programs. The newly introduced structures empower users with more control over the verification process in the following ways: (1) case analysis can be invoked to take advantage of disjointedness conditions in the logic, (2) early, as opposed to late, instantiation can minimise the use of existential quantification and (3) novel formulae structuring can provide better reuse of the verification process. Initial experiments have shown that structured specifications can lead to more precise verification without incurring any performance overhead. To support our proposal, we shall illustrate the usage of structured specifications in the context of proving termination and we will briefly outline the impact of our proposal on a recent development focussed on verifying the FreeRTOS scheduler Ferreira et al. (Int. J. Softw. Tools Technol. Trans. 2014).
引用
收藏
页码:363 / 380
页数:17
相关论文
共 50 条
  • [41] Automatic Verification of Combined Specifications: An Overview
    Olderog, Ernst-Ruediger
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 207 : 3 - 16
  • [42] Optical cleanliness specifications and cleanliness verification
    Stowers, IF
    OPTICAL MANUFACTURING AND TESTING III, 1999, 3782 : 525 - 530
  • [43] SpecGen: Automated Generation of Formal Program Specifications via Large Language Models
    Ma, Lezhi
    Liu, Shangqing
    Li, Yi
    Xie, Xiaofei
    Bu, Lei
    arXiv, 1600,
  • [44] Enhancing the pre- and postcondition technique for more expressive specifications
    Leavens, GT
    Baker, AL
    FM'99-FORMAL METHODS, VOL II, 1999, 1709 : 1087 - 1106
  • [45] A STUDY OF SPEAKER VERIFICATION PERFORMANCE WITH EXPRESSIVE SPEECH
    Parthasarathy, Srinivas
    Zhang, Chunlei
    Hansen, John H. L.
    Busso, Carlos
    2017 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2017, : 5540 - 5544
  • [46] Probabilistic Program Verification via Inductive Synthesis of Inductive Invariants
    Batz, Kevin
    Chen, Mingshuai
    Junges, Sebastian
    Kaminski, Benjamin Lucien
    Katoen, Joost-Pieter
    Matheja, Christoph
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PT II, TACAS 2023, 2023, 13994 : 410 - 429
  • [47] Automated verification of dense-time MTL specifications via discrete-time approximation
    Furia, Carlo A.
    Pradella, Matteo
    Rossi, Matteo
    FM 2008: FORMAL METHODS, PROCEEDINGS, 2008, 5014 : 132 - +
  • [48] Partial Specifications for Program Repair
    Kitt, Linsey
    Cohen, Myra B.
    2021 IEEE/ACM INTERNATIONAL WORKSHOP ON GENETIC IMPROVEMENT (GI 2021), 2021, : 19 - 20
  • [49] A PROGRAM FOR ANIMATING CCS SPECIFICATIONS
    STOBO, JR
    SOFTWARE ENGINEERING JOURNAL, 1994, 9 (03): : 117 - 125