发明名称 Service installation on a base function and provision of a pass function with a service-free base function semantic
摘要 A base function provides a base function semantic. During service installation, an unconditional branch instruction to a service function replaces one or more instructions at the beginning of a base function. The service function provides a service semantic such as instrumentation, redirection, replacement, or extension. After service installation, a pass function includes the replaced base function instructions and an unconditional branch instruction to the logically subsequent base function instruction. Thus, the pass function provides a service-free base function semantic. The service function calls the pass function an arbitrary number of times before and/or after executing any other service function instructions. The pass function is allocated statically or dynamically. A statically allocated pass function is callable before and/or after service installation to guarantee a service-free base function semantic. A service removal function restores a base function and conforms a pass function to the restored base function. A pass function is callable before and/or after service removal. A library of service installation functions includes functions for installing and removing a service on a base function. A library of binary editing functions includes functions for attaching service installation functions and associated data payloads to a binary file.
申请公布号 US6546553(B1) 申请公布日期 2003.04.08
申请号 US19990349732 申请日期 1999.07.08
申请人 MICROSOFT CORPORATION 发明人 HUNT GALEN C.
分类号 G06F9/42;G06F9/445;G06F9/46;G06F9/50;G06F11/36;H04L12/24;H04L29/08;(IPC1-7):G06F9/445 主分类号 G06F9/42
代理机构 代理人
主权项
地址