Minimum delta generator for program binaries
Abstract
Implementations provide a technology for generating a minimum delta between at least two program binaries. An implementation is given a source program (S) in a binary format and a target program (T) in a binary form. It constructs control flow graphs (CFGs) of each. It matches common blocks of the S's CFGs and T's CFGs. The blocks are matched based upon their content and their local neighborhoods. In addition, the register renaming problems is solved so that blocks can be fairly compared. This implementation produces an intermediate output, which is the content of unmatched blocks. It generates a set of edge edit operations for merging the unmatched blocks into S. The combination of the unmatched blocks and the edit operations is the delta. To patch S to produce a reconstructed copy of T, the delta is merged with S.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 13.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system for generating a delta between a first program binary and a second program binary, the system comprising: one or more processors; one or more memories; means for obtaining a first control flow graph (CFG) representation of the first binary and means for obtaining a second CFG representation of the second binary; means for comparing the first and second CFG representations to identify blocks (nominally matched blocks) that match in the first and second CFG representations, thereby identifying blocks (nominally unmatched blocks) in the second CFG representation that do not match in the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- Burns, "Differential Compression: a Generalized Solution for Binary Files-Thesis" Dec. 1996.
- Chipman, Laure J., "A graph theoretic approach to scene matching," The University of Alabama in Huntsville, 1990.
- Coppieters, "A Cross-Platform Binary Diff," Dr. Dobbs Journal, Redwood City CA US, May 1, 1995, pp. 3235-3236.
- Horwitz, Susan et al. "Efficient comparison of program slices" ACTA Informatica v. 28 n 8, 1991, pp. 713-732.
- Horwitz, Susan, "Identifying the Semantic and Textual Differences Between Two Versions of a Program" Proceedings of the ACM Sigplan 1990 Conf. on the Programming Language Design and Implementation, White Plains NY, Jun. 20, 1990, pp. 234-245.