arXiv · 2504.00151
cozy: Comparative Symbolic Execution for Binary Programs
Abstract
This paper introduces cozy, a tool for analyzing and visualizing differences between two versions of a software binary. The primary use case for cozy is validating "micropatches": small binary or assembly-level patches inserted into existing compiled binaries. To perform this task, cozy leverages the Python-based angr symbolic execution framework. Our tool analyzes the output of symbolic execution to find end states for the pre- and post-patched binaries that are compatible (reachable from the same input). The tool then compares compatible states for observable differences in registers, memory, and side effects. To aid in usability, cozy comes with a web-based visual interface for viewing comparison results. This interface provides a rich set of operations for pruning, filtering, and exploring different types of program data.
Explore related subjects
Keep this discovery
Caleb Helbling, Graham Leach-Krouse, Sam Lasser, Greg Sullivan. 2025-03-31. cozy: Comparative Symbolic Execution for Binary Programs. https://doi.org/10.14722/bar.2025.23004
Cite the original work for its findings. Save a collection to share your selection of sources.