Method and system for generating a reverse binary patch for undoing a software update
Abstract
A reverse patch for undoing a forward patch for obtaining a new binary image from an old binary image is generated in two parts. First a reverse index file is generated when the forward patch is created at a host or server. The reverse index file identifies regions of similarity between the old binary image and the new binary image. The reverse index file is transmitted with the forward patch to an electronic device. Second, while applying the forward patch to obtain the new binary image from the old binary image, the electronic device generates the reverse patch based upon the new binary image, the old binary image, and the reverse index file. The forward patch and reverse patch may both be incremental patches. Incremental patches are generated and applied on a sector-by-sector basis.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 40 · Forward citations: 16.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for generating a reverse patch for reversing a forward patch on an electronic device, wherein the forward patch generates a new binary image from an old binary image, the method comprising the steps of: generating an index file at a server, the index file identifying regions of similarity between the old binary image and the new binary image for use in obtaining at least a portion of the old binary image from the new binary image; transmitting the forward patch and the index file from the server to the electronic device; applying the forward patch to the old binary image to create the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 16 total)
References Cited — Backward Prior Art (40)
Non-Patent Literature (5)
- Andersen et al, "Generic patch inference", IEEE, pp. 346-337, 2008.
- C. Percival, An Automated Binary Security Update System for FreeBSD, Proceedings of BSDCon '03, Sep. 2003.
- C. Percival, Naive Differences of Executable Code, http://www.daemonology.net/bsdiff/ (2003).
- Nurolahzade et al, "The role of patch review in software evolution: an analysis of the mozilla firefox", ACM IWPSE, pp. 9-17, 2009.
- Perkins et al, "Automatically patching erros in deployed software", ACM SOSP, pp. 87-102, 2009.