arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.16897cs.LOcs.SE
收藏

持续检查HAL接口规范,从一开始就开始

Checking the HAL Interface Specification Continuously, Right from the Start

University of Freiburg(弗赖堡大学);Hahn-Schickard Institute(汉-希克哈德研究所);Offenburg University(奥芬堡大学)

Manuel Bentele, Onur Altinordu, Jan Körner, Andreas Podelski, Axel Sikora

AI总结:

本文提出了一种持续检查HAL接口规范的方法,从开发一开始就进行检查,通过多次迭代开发嵌入式应用程序,确保每个步骤的检查成功。

摘要:

在嵌入式应用中正确使用硬件抽象层(HAL)接口对于防止故障、崩溃甚至硬件损坏至关重要。软件模型检查已成功应用于检查应用程序中的接口规范,但其在工业实践中的应用受到其不可预测性的阻碍(是否对给定的应用程序成功取决于不确定)。在本文中,我们提出了一种新的方法来解决这个问题,通过在开发过程中持续检查HAL接口规范,并从开发一开始就进行检查。也就是说,我们通过多次迭代开发嵌入式应用程序,而这些步骤之间没有正式的联系。步骤从一个只调用HAL函数的程序骨架开始。实际功能是连续添加的。在序列的每个步骤中检查HAL接口规范。该方法的思路是利用软件模型检查的一个特定特性:其尝试计算所需抽象的尝试可能从一个步骤延续到下一个步骤,即使步骤之间没有正式联系。在我们方法在嵌入式应用程序开发中的初步实验评估中的经验非常有希望。按照我们的方法,检查在每个步骤中都成功,特别是在最终的应用程序程序中。

英文摘要:

The correct use of a Hardware Abstraction Layer (HAL) interface in embedded applications is crucial to prevent malfunctions, crashes, or even hardware damage. Software model checking has been successfully applied to check interface specifications in application programs, but its employment in industrial practice is hindered by its unpredictability (whether it succeeds for a given application program or not). In this paper, we present a novel approach to address this problem by checking the HAL interface specification continuously and right from the start of the development. I.e., we develop an embedded application in several iterations without a formal connection between the steps. The steps start from a program skeleton which does nothing but calling HAL functions. Actual functionality is added consecutively. The HAL interface specification is checked in each step of the sequence. The idea of the approach is to exploit a specific feature of software model checking: Its attempt to compute exactly the abstraction that is needed for the check to succeed may carry over from one step to the next, even if there is no formal connection between the steps. The experience from a preliminary experimental evaluation of our approach in the development of embedded applications is very promising. Following our approach, the check succeeds in each step and in particular in the final application program.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑