Formal Verifying Kernel Abstract Layer of HarmonyOS with Projection Temporal Logic

Ye Tian,Xinfeng Shu
DOI: https://doi.org/10.1145/3641584.3641769
2023-09-22
Abstract:This article proposes a method for formal verification of the Kernel Abstract Layer (KAL) in the HarmonyOS using Projection Temporal Logic (PTL) and the Isabelle theorem prover. PTL is a widely used method in the field of software and hardware specification and verification, particularly for modeling and verifying concurrent systems. In the implementation of the KAL in the HarmonyOS kernel, PTL can be used to describe the kernel interface specifications and enhance the correctness and reliability of the kernel.The article begins by introducing the basic concepts, syntax, and semantics of PTL, followed by its application in the abstraction layer of the operating system kernel. It provides a detailed description of the formal specification of the kernel abstraction layer interface and utilizes PTL to describe it. Furthermore, the article explains how PTL can be employed to verify the kernel abstraction layer interface, ensuring its completeness. Through this research, a novel modeling and verification approach is presented for the implementation of the HarmonyOS kernel abstraction layer, thereby enhancing the reliability of the operating system.
Computer Science
What problem does this paper attempt to address?