Patent · US Expired

Method and apparatus for modifying relocatable object code files and monitoring programs

US5835701A · kind A · utility

35Cited by
22References
21Claims
0Family size

Assignee

Inventor

Key dates

Filing dateMay 31, 1996
Grant dateNov 10, 1998
Priority date
Expiry dateMay 31, 2016

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F11/3644
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

An object code expansion program inserts new instructions and data between preexisting instructions and data of an object code file; offsets are modified to reflect new positions of the preexisting instructions and data. For each item of preexisting object code (instructions or data), the following steps are performed: making a new code block comprising any desired new instructions and the item, and storing it as new object code; tracking the location of the item and the new code block within the new object code; and tracking items that contain inter-item offsets. Then, each inter-item offset is updated using the new location of the item or new code block, as required. Finally, offsets in symbol tables and relocation structures are updated with the new location of the item. This expansion program is used to add instructions to object code files of a second program, to monitor substantially all of the memory accesses of the second program. The added instructions establish and maintain a memory status array with entries for memory locations that are validly accessible by the second program; entries indicate the status of corresponding memory locations. The memory status array is used…

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