Patents
US 7,685,590 B2#7847536 Most CitedActiveUnited States (USPTO)Utility

Minimum delta generator for program binaries

13Forward Citations (#7847536 Global)
0.8/yrCitation Velocity (#9089562 Global)
1.70Citation PageRank (#18734025 Global)
22Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (22)

PatentTitleYearCitations
JP S63208941 AManaging system for updating history of program path—4
US 5,379,422 ASimple random sampling on pseudo-ranked hierarchical data structures in a data processing system1995114
US 5,481,722 AMethod and apparatus for merging change control delta structure files of a source module from a parent and a child development environment1996155
JP H0916389 AMethod and device for automatically generating program parts—20
US 5,630,138 Amethod and system for merging files having a parallel format199754
US 5,710,916 AMethod and apparatus for similarity matching of handwritten data objects1998252
US 5,774,730 AMethod and apparatus for improving colorability of constrained nodes in an interference graph within a computer system199842
WO 9,904,336 A1System for finding differences between two computer files and updating the computer files—11
US 5,974,254 AMethod for detecting differences between graphical programs1999179
US 6,018,747 AMethod for generating and reconstructing in-place delta files2000301
WO 0,011,549 A1Difference extraction between two versions of data-tables containing intra-references—13
US 6,189,116 B1Complete, randomly ordered traversal of cyclic directed graphs200149
US 6,205,444 B1Multiple sequence alignment system and method200137
US 6,314,562 B1Method and system for anticipatory optimization of computer programs200192
JP 2002169702 AMinimum delta generator for program binary—7
US 6,526,574 B1System for finding differences between two computer files and updating the computer files2003153
US 2003084424 A1Pattern-based comparison and merging of model versions—101

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.