arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2607.03135cs.SEcs.AI
收藏

通过运行时跟踪分析检测安全关键固件中的架构漂移

Detecting Architectural Drift in Safety-Critical Firmware through Runtime Trace Analysis

University of Naples Federico II(那不勒斯费德里科二世大学);Micron Technology, Inc(美光技术公司);DIETI

Domenico Francesco De Angelis, Marco De Luca, Domenico Amalfitano, Pasquale Cimmino, Anna Rita Fasolino

AI总结:

研究在长寿命安全关键固件中检测架构漂移问题,核心方法是收集硬件辅助执行跟踪,经抽象比较找出差异,还基于大语言模型生成报告,贡献是经评估该方法有效。

摘要:

在长期运行的安全关键固件中,保持架构设计与运行时观察到的行为之间的一致性具有挑战性。本文提出了一种运行时感知方法,用于检测符合ISO 26262标准的固件中的架构漂移。该方法收集硬件辅助执行跟踪,将其抽象为固件组件之间的消息交换,并通过确定性差分步骤将所得运行时行为与设计时序列图进行比较。计算出的增量将差异识别为已确认、缺失、额外或倒置,而基于受限大语言模型的步骤仅生成一份支持专家审查的可读报告。我们通过基于协议的验证和从业者调查,在工业固件环境中评估了该方法。26个测试用例的结果表明,生成的增量与专家策划的参考之间具有高度一致性,而从业者认为这些报告对于解释漂移、减少人工分析工作量和支持面向安全的文档活动很有用。研究结果表明,结合运行时跟踪分析、确定性架构差分和基于受限大语言模型的报告,可以实际支持不断发展的安全关键固件中的架构漂移检测。

英文摘要:

Maintaining consistency between architectural design and runtime-observed behavior is challenging in long-lived safety-critical firmware. This paper presents a runtime-informed methodology for detecting architectural drift in ISO 26262-compliant firmware. The approach collects hardware-assisted execution traces, abstracts them into message exchanges among firmware components, and compares the resulting runtime behavior with design-time sequence diagrams through a deterministic differencing step. The computed delta identifies discrepancies as confirmed, missing, additional, or inverted, while a constrained LLM-based step generates a human-readable report only to support expert review. We evaluate the methodology in an industrial firmware context through agreement-based validation and a practitioner survey. Results over 26 test cases show strong agreement between the generated deltas and expert-curated references, while practitioners perceive the reports as useful for interpreting drift, reducing manual analysis effort, and supporting safety-oriented documentation activities. The findings suggest that combining runtime trace analysis, deterministic architectural differencing, and constrained LLM-based reporting can practically support architectural drift detection in evolving safety-critical firmware.

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

↑