Method and system for inserting floating code hooks into multiple versions of code
AssigneeInternational Business Machines Corporation
InventorsDarren Miclette, deceased, Mark D. Rogalski
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsDarren Miclette, deceased, Mark D. Rogalski
Estimating the term…
A method and system of inserting a floating code hook at a proper position within a program's code having unknown length is provided. The method comprises the steps of estimating an insertion point for a code hook in a computer program loaded in a computer's memory and determining whether expected code is located at the estimated insertion point. If the expected code is located at the estimated insertion point, the method inserts the code hook into the program code at the insertion point. If the expected code is not located at the estimated insertion point, the method moves the estimated insertion point a predetermined number of bytes from the estimated insertion point to a new estimated insertion point, and again determines whether expected code is located at the estimated insertion point. This process continues until the proper insertion point is located, and the floating code hook is inserted.
A method of inserting a floating code hook at a proper position within a program's code, the method comprising the steps of:
A system for inserting a floating code hook at a proper position within a program's code, the system comprising:
A computer program product for use in a computer system comprising:
Dependencies are inferred from the claim text.