Score: 0

Applying Formal Methods Tools to an Electronic Warfare Codebase (Experience report)

Published: January 16, 2026 | arXiv ID: 2601.11510v1

By: Letitia W. Li , Denley Lam , Vu Le and more

Potential Business Impact:

Makes computer code safer with less effort.

Business Areas:
Electronic Design Automation (EDA) Hardware, Software

While using formal methods offers advantages over unit testing, their steep learning curve can be daunting to developers and can be a major impediment to widespread adoption. To support integration into an industrial software engineering workflow, a tool must provide useful information and must be usable with relatively minimal user effort. In this paper, we discuss our experiences associated with identifying and applying formal methods tools on an electronic warfare (EW) system with stringent safety requirements and present perspectives on formal methods tools from EW software engineers who are proficient in development yet lack formal methods training. In addition to a difference in mindset between formal methods and unit testing approaches, some formal methods tools use terminology or annotations that differ from their target programming language, creating another barrier to adoption. Input/output contracts, objects in memory affected by a function, and loop invariants can be difficult to grasp and use. In addition to usability, our findings include a comparison of vulnerabilities detected by different tools. Finally, we present suggestions for improving formal methods usability including better documentation of capabilities, decreased manual effort, and improved handling of library code.

Page Count
21 pages

Category
Computer Science:
Logic in Computer Science