Patents
US 7,681,190 B2#10840602 Most CitedActiveUnited States (USPTO)Utility

Minimum delta generator for program binaries

10Forward Citations (#10840602 Global)
0.6/yrCitation Velocity (#12615826 Global)
1.54Citation PageRank (#21952171 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: 10.

Claims (1 — 1 Independent, 0 Dependent)

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

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
US 6,594,822 B1Method and apparatus for creating a software patch by comparing object files2003146
US 2004268219 A1Method of representing data flow between programming objects in a hierarchical display—18
US 6,860,422 B2Method and apparatus for tracking documents in a workflow200577

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.