SA4U: Practical Static Analysis for Unit Type Error Detection
Max Taylor, Johnathon Aurand, Feng Qin, Xiaorui Wang, Brandon Henry, Xiangyu Zhang
Abstract
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.)
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 91bb2e00-0f44-4cd0-bade-6740ccbe16e9Cited by top-tier papers1
Ask how each one uses itBuilds on2
Related papers
- An exploratory study of autopilot software bugs in unmanned aerial vehiclesDinghua Wang, Shuqing Li, Guanping Xiao, Yepang Liu et al.FSE 2021 · 60 citations
- An Exploratory Investigation of Log Anomalies in Unmanned Aerial VehiclesDinghua Wang, Shuqing Li, Guanping Xiao, Yepang Liu et al.ICSE 2024 · 5 citations
- PatchVerif: Discovering Faulty Patches in Robotic VehiclesHyungsub Kim, Muslum Ozgur Ozmen, Z. Berkay Celik, Antonio Bianchi et al.USENIX Security 2023
- From Control Model to Program: Investigating Robotic Aerial Vehicle Accidents with MAYDAYTaegyu Kim, Chung Hwan Kim, Altay Ozen, Fan Fei et al.USENIX Security 2020
- Uncovering Failures in Cyber-Physical System State Transitions: A Fuzzing-Based Approach Applied to sUASTheodore Chambers, Arturo Miguel Russell Bernal, Michael Vierhauser, Jane Cleland-HuangICSE 2026
