AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
Article Link
Collect
Submit Manuscript
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Regular Paper

Modular Verification of SPARCv8 Code

Department of Computer Science and Technology, Nanjing University, Nanjing 210023, China
State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing 210023, China
Beijing Institute of Control Engineering, Beijing 100080, China

A preliminary version of the paper was published in the Proceedings of APLAS 2018.

Show Author Information

Abstract

Inline assembly code is common in system software to interact with the underlying hardware platforms. The 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 (Scalable Processor Architecture) assembly code. The logic supports modular reasoning about the main features of SPARCv8 ISA (instruction set architecture), including delayed control transfers, delayed writes to special registers, and register windows. It also supports relational reasoning for refinement verification. We have applied it to verify that there is a contextual refinement between a context switch routine in SPARCv8 and a switch primitive. The program logic and its soundness proof have been mechanized in Coq.

Electronic Supplementary Material

Download File(s)
jcst-35-6-1382-Highlights.pdf (232.8 KB)

References

【1】
【1】
 
 
Journal of Computer Science and Technology
Pages 1382-1405

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Zha J-P, Feng X-Y, Qiao L. Modular Verification of SPARCv8 Code. Journal of Computer Science and Technology, 2020, 35(6): 1382-1405. https://doi.org/10.1007/s11390-020-0536-9

926

Views

3

Crossref

N/A

Web of Science

3

Scopus

1

CSCD

Received: 11 April 2020
Revised: 24 October 2020
Published: 30 November 2020
©Institute of Computing Technology, Chinese Academy of Sciences 2020