发明名称 In-memory modification of computer programs
摘要 The present invention provides a facility for performing self-patching of computer code in memory. The facility patches a segment of executable code at runtime under the control of the code segment. The code segment has a selected entry point, a patching section, and a patched section. The patching section is provided to patch the patched section in order to change the contents of the patched section. When the code segment is executed a first time at the selected entry point, execution jumps from the beginning of the patched section to a point beyond the patched section to execute the patching section. When the patching section is executed, the patching section patches the patched section. Finally, when the code segment is executed at the selected entry point after the patching section has patched the patch section, the patched section is executed rather than the patching section.
申请公布号 US6438621(B1) 申请公布日期 2002.08.20
申请号 US19980133981 申请日期 1998.08.14
申请人 MICROSOFT CORPORATION 发明人 KANAMORI ATSUSHI;THOMASON JONATHAN G.
分类号 G06F9/445;(IPC1-7):G06F9/44 主分类号 G06F9/445
代理机构 代理人
主权项
地址