BinSym: Binary-Level Symbolic Execution using Formal Descriptions of Instruction Semantics

Sören Tempel,Tobias Brandt,Christoph Lüth,Rolf Drechsler
2024-04-05
Abstract:BinSym is a framework for symbolic program analysis of software in binary form. Contrary to prior work, it operates directly on binary code instructions and does not require lifting them to an intermediate representation (IR). This is achieved by formulating the symbolic semantics on top of a formal description of binary code instruction semantics. By building on existing formal descriptions, BinSym eliminates the manual effort required by prior work to implement transformations to an IR, thereby reducing the margin for errors. Furthermore, BinSym's symbolic semantics can be directly related to the binary code, which improves symbolic execution speed by reducing solver query complexity.
Software Engineering,Cryptography and Security,Programming Languages
What problem does this paper attempt to address?