发明名称 Method and system for modifying executable code to add additional functionality
摘要 <p>A system for modifying a compiled executable code file by adding patches that add functionality when the modified executable code file is executed. The modifying is performed without recompiling, relinking or rewriting the code file. Adding a patch involves creating a patch handler which when executed causes the patch statements to be executed, and may involve replacing one or more existing compiled instructions in the file with patching instructions to transfer flow of execution to the appropriate patch handler. The instructions replaced by the patching instructions can also be added to the patch handler. Patches can also include code statements which form a complete module, such as an invokable routine, which can be referenced by other patch statements to cause the module to be executed. Specialized trace requests can also be added as patch statements. The trace requests will make specified information about the current execution of the executable code file available to a software developer. Patch statements can include variables and expressions that will be evaluated in the context of the appropriate current variable scope, regardless of whether the scope is defined within the patch or by existing compiled instructions. After patches have been added, they can be disabled so as to prevent their execution without removing the patching instructions from the compiled executable file. Patches can also be qualified with conditions such that the patch will be executed only when the conditions are true at the time of execution. &lt;IMAGE&gt;</p>
申请公布号 EP1014263(A2) 申请公布日期 2000.06.28
申请号 EP19990310012 申请日期 1999.12.13
申请人 APPLIED MICROSYSTEMS CORPORATION 发明人 TINKER, JEFFREY L.
分类号 G06F9/455;G06F9/06;G06F9/445;G06F11/36;(IPC1-7):G06F9/445 主分类号 G06F9/455
代理机构 代理人
主权项
地址