Modular Verification of SPARCv8 Code

被引:1
|
作者
Zha, Junpeng [1 ]
Feng, Xinyu [2 ]
Qiao, Lei [3 ]
机构
[1] Univ Sci & Technol China, Hefei, Peoples R China
[2] Nanjing Univ, State Key Lab Novel Software Technol, Nanjing, Peoples R China
[3] Beijing Inst Control Engn, Beijing, Peoples R China
来源
PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2018 | 2018年 / 11275卷
基金
中国国家自然科学基金;
关键词
LOGIC;
D O I
10.1007/978-3-030-02768-1_14
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Inline assembly code is common in system software to interact with the underlying hardware platforms. Safety and correctness of the assembly code is crucial to guarantee the safety of the whole system. In this paper we propose a practical Hoare-style program logic for verifying SPARC assembly code. The logic supports modular reasoning about the main features of SPARCv8 ISA, including delayed control transfers, delayed writes to special registers, and register windows. We have applied it to verify the main body of a context switch routine in a realistic embedded OS kernel. All of the formalization and proofs have been mechanized in Coq.
引用
收藏
页码:245 / 263
页数:19
相关论文
共 50 条
  • [1] Modular Verification of SPARCv8 Code
    Jun-Peng Zha
    Xin-Yu Feng
    Lei Qiao
    Journal of Computer Science and Technology, 2020, 35 : 1382 - 1405
  • [2] Modular Verification of SPARCv8 Code
    Zha, Jun-Peng
    Feng, Xin-Yu
    Qiao, Lei
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2020, 35 (06) : 1382 - 1405
  • [3] Verification of Real Time Operating System Exception Management Based on SPARCv8
    Zhi Ma
    Lei Qiao
    Meng-Fei Yang
    Shao-Feng Li
    Jin-Kun Zhang
    Journal of Computer Science and Technology, 2021, 36 : 1367 - 1387
  • [4] Verification of Real Time Operating System Exception Management Based on SPARCv8
    Ma, Zhi
    Qiao, Lei
    Yang, Meng-Fei
    Li, Shao-Feng
    Zhang, Jin-Kun
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2021, 36 (06) : 1367 - 1387
  • [5] Formalizing SPARCv8 instruction set architecture in Coq
    Wang, Jiawei
    Fu, Ming
    Qiao, Lei
    Feng, Xinyu
    SCIENCE OF COMPUTER PROGRAMMING, 2020, 187
  • [6] An Executable Formalisation of the SPARCv8 Instruction Set Architecture: A Case Study for the LEON3 Processor
    Hou, Zhe
    Sanan, David
    Tiu, Alwen
    Liu, Yang
    Hoa, Koh Chuen
    FM 2016: FORMAL METHODS, 2016, 9995 : 388 - 405
  • [7] Modular Verification of Security Protocol Code by Typing
    Bhargavan, Karthikeyan
    Fournet, Cedric
    Gordon, Andrew D.
    POPL'10: PROCEEDINGS OF THE 37TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2010, : 445 - 456
  • [8] Modular Code-Based Cryptographic Verification
    Fournet, Cedric
    Kohlweiss, Markulf
    Strub, Pierre-Yves
    PROCEEDINGS OF THE 18TH ACM CONFERENCE ON COMPUTER & COMMUNICATIONS SECURITY (CCS 11), 2011, : 341 - 350
  • [9] Modular Verification of Security Protocol Code by Typing
    Bhargavan, Karthikeyan
    Fournet, Cedric
    Gordon, Andrew D.
    ACM SIGPLAN NOTICES, 2010, 45 (01) : 445 - 456
  • [10] Design and verification of dual modular redundancy hamming code
    Qiao B.
    Wu X.
    Liu H.
    Wang Z.
    Dong Y.
    Harbin Gongye Daxue Xuebao/Journal of Harbin Institute of Technology, 2020, 52 (10): : 161 - 166