发明名称 Method and system for inserting floating code hooks into multiple versions of code
摘要 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.
申请公布号 US5671417(A) 申请公布日期 1997.09.23
申请号 US19950514510 申请日期 1995.08.11
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 MICLETTE, DECEASED, DARREN;ROGALSKI, MARK D.
分类号 G06F9/445;(IPC1-7):G06F7/00 主分类号 G06F9/445
代理机构 代理人
主权项
地址