SA4U:单元类型错误检测的实用静态分析
SA4U: Practical Static Analysis for Unit Type Error Detection
摘要:
单位类型错误,其中具有物理单位类型的值(例如,米,小时)在计算中被错误地使用,在今天的无人机系统(UAS)固件中很常见。最近的研究表明,单元类型错误占UAS固件错误的10%以上。此外,单位类型错误的后果是严重的。超过30%的单元类型错误会导致UAS崩溃。本文提出了SA4U:一个实用的系统,用于检测现实世界的UAS固件中的单元类型错误。SA4U不需要修改固件或开发人员注释。通过分析仿真轨迹和协议定义,推导出程序变量的单位类型。SA4U使用推断的单元类型来识别何时发生单元类型错误。SA4U是有效的:它在两个流行的开源固件(ArduPilot和PX4)中发现了14个以前未发现的错误。
英文摘要:
Unit type errors, where values with physical unit types (e.g., meters, hours) are used incorrectly in a computation, are common in today's unmanned aerial system (UAS) firmware. Recent studies show that unit type errors represent over 10% of bugs in UAS firmware. Moreover, the consequences of unit type errors are severe. Over 30% of unit type errors cause UAS crashes. This paper proposes SA4U: a practical system for detecting unit type errors in real-world UAS firmware. SA4U requires no modifications to firmware or developer annotations. It deduces the unit types of program variables by analyzing simulation traces and protocol definitions. SA4U uses the deduced unit types to identify when unit type errors occur. SA4U is effective: it identified 14 previously undetected bugs in two popular open-source firmware (ArduPilot & PX4.)
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。