从遗留未记录嵌入式二进制中推断等价类以符合ISO 26262的测试
Inferring Equivalence Classes from Legacy Undocumented Embedded Binaries for ISO 26262-Compliant Testing
AI总结:
本文提出一种基于二进制的方法,直接从编译固件推断输出导向的等价类,无需源码注释或外部文档。通过控制流重建和引导符号执行分析函数,将执行路径按不可区分的可观测行为分组,包括返回值和输出参数。
摘要:
等价类划分是安全标准如ISO 26262要求的系统化安全软件测试设计技术。然而,在工业实践中,将其应用于遗留未记录的嵌入式固件时,往往受不完整或过时的功能规范限制。本文提出一种二进制层面的方法,直接从编译固件推断输出导向的等价类,而无需依赖源码注释或外部文档。该方法结合控制流重建和引导符号执行,分析单个函数并根据不可区分的可观测行为(包括返回值和输出参数)将执行路径分组。可选的后处理步骤生成可读的表示以支持理解和文档编写。通过在工业汽车环境中的实践研究评估该方法的正确性和可解释性。结果表明,该方法与专家期望高度一致,并且在可读性和实用性方面受到积极评价,支持函数理解和测试设计。这些发现证明了二进制层面等价类推断在系统化测试遗留未记录安全嵌入式软件中的可行性和实际相关性。
英文摘要:
Equivalence class partitioning is a well-established test design technique mandated by safety standards such as ISO~26262 for systematic testing of safety software. In industrial practice, however, its application to legacy undocumented embedded firmware is often hindered by incomplete or outdated functional specifications. This paper proposes a binary-level methodology for inferring output-oriented equivalence classes directly from compiled firmware, without relying on source-level annotations or external documentation. The approach combines control-flow reconstruction and guided symbolic execution to analyze individual functions and group execution paths according to indistinguishable observable behavior, including return values and output parameters. An optional post-processing step produces human-readable representations to support comprehension and documentation. The methodology is evaluated in an industrial automotive context through a practitioner-based study assessing correctness and interpretability. Results indicate strong alignment with expert expectations and a positive perception of readability and usefulness for supporting function understanding and test design. These findings demonstrate the feasibility and practical relevance of binary-level equivalence class inference for systematic testing of legacy undocumented safety-embedded software.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。