Checking the HAL Interface Specification Continuously, Right from the Start
By: Manuel Bentele , Onur Altinordu , Jan Körner and more
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.
Similar Papers
Relevant HAL Interface Requirements for Embedded Systems
Logic in Computer Science
Finds crucial code to stop hardware breaking.
HAL -- An Open-Source Framework for Gate-Level Netlist Analysis
Cryptography and Security
Helps understand secret computer chips.
Temporal HAL-API Dependencies as a Gateway to Formal Embedded Software Development
Software Engineering
Checks computer code for mistakes automatically.