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: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for matching blocks between a first control flow graph (CFG) representation of a portion of a first program and a second CFG representation of a portion of a second program, the method comprising: matching blocks, by one or more computing devices configured to match blocks between the first CFG representation of the portion of the first program and the second CFG representation of the portion of the second program, between the first and second CFG representations based upon the content of the blocks; detecting outliers, by one or more computing devices, wherein outliers are blocks in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 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.