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

汽车工业开发过程中的形式化运行时错误检测

Formal Runtime Error Detection During Development in the Automotive Industry

Jesko Hecking-Harbusch, Jochen Quante, Maximilian Schlund

AI总结:

本研究针对汽车软件开发中静态分析误报多、可扩展性差的问题,提出利用自动推断的契约为模块级分析提供上下文,结合抽象解释工具提升分析精确度和可扩展性,并在工业案例中验证了其有效性。

摘要:

现代汽车软件高度复杂,包含数百万行代码。对于安全相关的汽车软件,建议使用可靠的静态程序分析来证明不存在运行时错误。然而,开发者通常认为这种分析负担沉重,因为它运行时间长且产生许多误报。如果在集成软件系统上进行分析,会存在可扩展性问题,且只能在开发后期进行。如果改为对单个模块进行分析,虽然可以在开发早期进行,但缺少模块的使用上下文,从而导致过多误报。在本案例研究中,我们展示了自动推断的契约如何为模块级分析添加上下文。利用这些契约结合现成的抽象解释工具,使模块级分析更精确且更具可扩展性。我们在来自不同汽车领域的工业案例研究中对该框架进行了定量评估。此外,我们报告了在验证大规模嵌入式软件项目方面的定性经验。

英文摘要:

Modern automotive software is highly complex and consists of millions lines of code. For safety-relevant automotive software, it is recommended to use sound static program analysis to prove the absence of runtime errors. However, the analysis is often perceived as burdensome by developers because it runs for a long time and produces many false alarms. If the analysis is performed on the integrated software system, there is a scalability problem, and the analysis is only possible at a late stage of development. If the analysis is performed on individual modules instead, this is possible at an early stage of development, but the usage context of modules is missing, which leads to too many false alarms. In this case study, we present how automatically inferred contracts add context to module-level analysis. Leveraging these contracts with an off-the-shelf tool for abstract interpretation makes module-level analysis more precise and more scalable. We evaluate this framework quantitatively on industrial case studies from different automotive domains. Additionally, we report on our qualitative experience for the verification of large-scale embedded software projects.

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

↑