Patent · US Expired

System and method for dynamic program linking

US6112025A · kind A · utility

34Cited by
9References
21Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMar 25, 1996
Grant dateAug 29, 2000
Priority date
Expiry dateMar 25, 2016

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/45504
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

In a system for dynamically linking a compiled procedure to referenced object components during execution of the compiled procedure, a native code loader loads the compiled procedure into a user's address space, and replaces a first instruction in the compiled procedure that references a first object component with a replacement instruction that invokes execution of a dynamic resolution procedure. While executing the compiled procedure, execution of the replacement instruction invokes execution of the dynamic resolution procedure. The dynamic resolution procedure locates the first object component, replaces the replacement instruction in the compiled procedure with a patch instruction, corresponding to the first instruction, that references the located first object component. The dynamic resolution procedure also resets a program counter value associated with execution of the compiled procedure so that when the dynamic resolution procedure returns back to the compiled procedure, the patch instruction is executed next. In a preferred embodiment, the native code loader replaces a shadow instruction, immediately following the first instruction in the compiled program with a NOP instru…

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.