Patents
US 6,915,513 B2#207221 Most CitedExpiredUnited States (USPTO)Utility

System and method for dynamically replacing code

107Forward Citations (#207221 Global)
5.1/yrCitation Velocity (#264623 Global)
9.80Citation PageRank (#1096360 Global)
38Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

The present disclosure relates to a system and method for dynamically replacing code. In one arrangement, the system and method pertain to intercepting original program instructions during execution of the program, determining if an original program instruction is to be replaced, and dynamically replacing the program instruction with a replacement instruction if it is determined that the original program instruction is to be replaced.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 107.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method for dynamically patching code, comprising the steps of: intercepting original program instructions during execution of the program; determining if an original program instruction is to be replaced; and dynamically replacing the original program instruction with a replacement instruction by fetching the replacement instruction and storing the replacement instruction in a code cache from which the replacement instruction can be executed in lieu of the original program instruction.

  2. Claim 2Depends on #1

    The method of claim 1 , wherein dynamically replacing the original program instruction further comprises executing the replacement instruction in lieu of the original program instruction each time a function associated with the original program instruction is required.

  3. Claim 3Depends on #1

    The method of claim 1 , wherein the replacement instruction comprises part o

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (38)

PatentTitleYearCitations
US 5,339,430 ASystem for dynamic run-time binding of software modules in a computer system1994347
EP 0,665,496 A1Method and apparatus for run-time error checking using dynamic patching—9
US 5,555,416 AAutomated software installation and operating environment configuration for a computer system based on classification rules1996435
US 5,625,804 AData conversion in a multiprocessing system usable while maintaining system operations199739
US 5,664,195 AMethod and apparatus for dynamic installation of a driver on a computer system1997107
US 5,768,593 ADynamic cross-compilation system and method1998238
US 5,832,519 ASystem and method for updating database values without the use of locking operations199847
US 5,832,275 ASystem for dynamically replacing operating software which provides distributed directory service after verifying that versions of new software and the operating software are compatible199892
US 5,860,104 AData cache which speculatively updates a predicted data cache storage location with store data and subsequently corrects mispredicted updates1999131
US 5,974,549 ASecurity monitor1999901
US 6,006,034 ASystems and methods for automatic application version upgrading and maintenance1999459
US 6,006,033 AMethod and system for reordering the instructions of a computer program to optimize its execution1999168
US 6,009,274 AMethod and apparatus for automatically updating software components on end systems over a network1999591
US 6,023,704 AApparatus and method for swapping identities of two objects to reference the object information of the other200059
US 6,049,672 AMicroprocessor with circuits, systems, and methods for operating with patch micro-operation codes and patch microinstruction codes stored in multi-purpose memory structure2000109

Non-Patent Literature (5)

  • Application entitled "System and Method for Facilitating Profiling and Application" by Fisher, et al.; U.S. Appl. No. 10/606,867; filed Jun. 26, 2003.
  • Calder et al, Fast and accurate instruction fetch and branch prediction, IEEE, pp 2-11, 1994.
  • Hicks, et al.; "Dynamic Software Updating"; Jun. 2001.
  • Kim et al, Hardware support for control transfers in code caches, IEEE Micro, pp 1-12, 2003.
  • Segal, et al.; "On-The-Fly Program Modification: Systems for Dynamic Updating"; IEEE Computer Society, vol. 10, No. 2; Mar. 1993; pp. 53-65.