期刊文献+
共找到2篇文章
< 1 >
每页显示 20 50 100
Modular Verification of SPARCv8 Code 被引量:1
1
作者 Jun-Peng Zha Xin-Yu Feng Lei Qiao 《Journal of Computer Science & Technology》 SCIE EI CSCD 2020年第6期1382-1405,共24页
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 pap... 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. 展开更多
关键词 Scalable Processor Architecture Version 8(SPARCv8) assembly code verification context switch COQ refinement verification
原文传递
Certifying assembly programs with trails
2
作者 Wei WANG 《Frontiers of Computer Science》 SCIE EI CSCD 2011年第4期472-485,共14页
In this paper, we introduce a new way of certifying assembly programs. Unlike previous program logics, we extract the control-flow information from the code and generate an intermediate trail between the specification... In this paper, we introduce a new way of certifying assembly programs. Unlike previous program logics, we extract the control-flow information from the code and generate an intermediate trail between the specification and the real code. Trails are auxiliary specifications and treated as modules in the certification process. We define a simple modular program logic called trail-based certified assembly programming (TCAP) to certify and link different parts of a program using the corresponding trails. Because the control flow information in trails is explicit, the rules are easier to design. We show that our logic is powerful enough to prove partial correctness of assembly programs with features including stack-based abstractions and self-modifying code. We also provide a semantics for TCAP and prove that the logic is sound with respect to the semantics. 展开更多
关键词 Certifying assembly code control flow partial correcmess
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部