Forward Symbolic Execution for Trustworthy Automation of Binary Code VerificationShow others and affiliations
2026 (English)In: Verification, Model Checking, And Abstract Interpretation, VMCAI 2026 / [ed] Chen, YF Jensen, T Lengal, O, Springer, 2026, p. 147-172Conference paper, Published paper (Refereed)
Abstract [en]
Control flow in unstructured programs can be complex and dynamic, which makes static analysis difficult. Yet, automated reasoning about unstructured control flow is important when certifying properties of binary (machine) code in trustworthy systems, e.g., cryptographic routines. We present a theory of forward symbolic execution for unstructured programs suitable for use in theorem provers that enables automated verification of both functional and non-functional program properties. The theory's foundation is a set of inference rules where each member corresponds to an operation in a symbolic execution engine. The rules are designed to give control over the tradeoff between the preservation of precision and introduction of overapproximation. We instantiate our theory for BIR, a previously proposed intermediate language for binary analysis. We demonstrate how symbolic executors can be constructed for BIR with common optimizations such as pruning of infeasible symbolic states. We implemented our theory in the HOL4 theorem prover using the Ho1BA binary analysis library, obtaining machine-checked proofs of soundness of symbolic execution for BIR. We practically evaluated two applications of our theory: verification of functional properties of RISC-V binaries and verification of execution time bounds of programs running on the ARM Cortex-MO processor. The evaluation shows that such verification can be automated with moderate overhead on medium-sized programs.
Place, publisher, year, edition, pages
Springer, 2026. p. 147-172
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 16417
Keywords [en]
symbolic execution, theorem proving, binary analysis
National Category
Computer Sciences Computer Systems Control Engineering
Identifiers
URN: urn:nbn:se:uu:diva-585550DOI: 10.1007/978-3-032-15700-3_8ISI: 001734720100008Scopus ID: 2-s2.0-105028353230ISBN: 9783032156990 (print)ISBN: 9783032157003 (electronic)OAI: oai:DiVA.org:uu-585550DiVA, id: diva2:2058121
Conference
27th International Conference on Verification Model Checking and Abstract Interpretation-VMCAI, January 12-13, 2026, Rennes, France
Funder
Knut and Alice Wallenberg Foundation2026-05-062026-05-062026-05-06Bibliographically approved