发明名称 IN-PLACE FUNCTION MODIFICATION
摘要 Modifying computer program code can be performed at or immediately prior to runtime of the computer code in a runtime environment of a common language infrastructure of a language-neutral framework for developing and executing computer applications. A function in a computer program can be modified at runtime by injecting arbitrary code, while mitigating an alteration of a program's call stack. A just-in-time compilation service is used to compile and execute intermediate language code of the program, and the runtime environment sends callback functions to an event-based profiling agent (profiler) attached to the runtime environment. The profiler can trap desired functions, as determined by configuration data, and inject modification code from stub methods in a stub assembly file. The modified code can be sent back to the runtime environment to be executed by the just-in-time compilation service.
申请公布号 US2010138817(A1) 申请公布日期 2010.06.03
申请号 US20080325436 申请日期 2008.12.01
申请人 MICROSOFT CORPORATION 发明人 DUBINSKY LEONID;PEYROUX JEAN-FRANCOIS
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址