BEC:针对软错误可靠性的比特级静态分析
BEC: Bit-Level Static Analysis for Reliability against Soft Errors
AI总结:
提出首个比特级错误合并(BEC)静态编译器分析,通过在编译时跟踪和分类寄存器堆比特损坏,用于故障注入活动修剪和可靠性感知的程序转换,有效提升程序抵御软错误的可靠性。
摘要:
软错误是一种瞬态数字信号损坏,发生在数字硬件组件中,例如 CPU 流水线的内部触发器、寄存器堆、存储单元甚至内部通信总线。软错误由环境放射性、磁干扰、激光和温度波动引起,这些因素可能是无意中产生的,也可能是为破坏系统并暴露机密数据而蓄意尝试的一部分。我们提出了一种比特级错误合并(BEC)静态程序分析及其两个用例,以理解和提高程序抵御软错误的可靠性。BEC 分析跟踪寄存器堆中的每一次比特损坏,并在编译时根据其语义对损坏的影响进行分类。所提出分析的实用性在两个场景中得到了证明,即故障注入活动修剪和可靠性感知的程序转换。实验结果表明,比特级分析在不损失精度的情况下,修剪了高达 30.04% 的详尽故障注入活动(平均 13.71%)。通过比特级漏洞感知的指令调度,程序漏洞降低了高达 13.11%(平均 4.94%)。该分析已在 LLVM 中实现,并在 RISC-V 架构上进行了评估。据我们所知,所提出的 BEC 分析是首个针对抵御软错误的程序可靠性的比特级编译器分析。所提出的方法是通用的,不局限于特定的计算机架构。
英文摘要:
Soft errors are a type of transient digital signal corruption that occurs in digital hardware components such as the internal flip-flops of CPU pipelines, the register file, memory cells, and even internal communication buses. Soft errors are caused by environmental radioactivity, magnetic interference, lasers, and temperature fluctuations, either unintentionally, or as part of a deliberate attempt to compromise a system and expose confidential data. We propose a bit-level error coalescing (BEC) static program analysis and its two use cases to understand and improve program reliability against soft errors. The BEC analysis tracks each bit corruption in the register file and classifies the effect of the corruption by its semantics at compile time. The usefulness of the proposed analysis is demonstrated in two scenarios, fault injection campaign pruning, and reliability-aware program transformation. Experimental results show that bit-level analysis pruned up to 30.04 % of exhaustive fault injection campaigns (13.71 % on average), without loss of accuracy. Program vulnerability was reduced by up to 13.11 % (4.94 % on average) through bit-level vulnerability-aware instruction scheduling. The analysis has been implemented within LLVM and evaluated on the RISC-V architecture. To the best of our knowledge, the proposed BEC analysis is the first bit-level compiler analysis for program reliability against soft errors. The proposed method is generic and not limited to a specific computer architecture.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。