发明名称 |
Adding Functionality To Existing Code At Exits |
摘要 |
New code is added to existing object code in order to add new functionality. For example, a call to start a profiler function can be added at the beginning of a Java method and a call to stop the profiler function can be added at the exits of the Java method. A method may have many different exits. To insure that the profiler process is stopped regardless of which exit is performed, the byte code and exception table are modified. |
申请公布号 |
US2017010900(A1) |
申请公布日期 |
2017.01.12 |
申请号 |
US201615269348 |
申请日期 |
2016.09.19 |
申请人 |
CA, Inc. |
发明人 |
Cobb Jeffrey R. |
分类号 |
G06F9/44 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method implemented on one or more machines for modifying existing object code, the method comprising:
adding exit code to said existing object code; and adding a new entry in an exceptions data store for said existing object code, said new entry points to said exit code. |
地址 |
New York NY US |