| CPC G06F 9/44521 (2013.01) [G06F 11/302 (2013.01); G06F 11/3495 (2013.01)] | 12 Claims |

|
1. A computer-implemented method of modifying a target application executing in a target process including one or more target threads, the computer-implemented method comprising:
creating a monitoring thread in the target process different than the one or more target threads during runtime of the target process;
starting execution of a software engine in the monitoring thread in the target process, during the runtime of the target process, to execute one or more monitoring scripts during the runtime of the target process, wherein the one or more monitoring scripts executing in the monitoring thread are configured to access memory within the target process and the target application executing in the one or more target threads are configured to access the memory within the target process;
modifying, by execution of the one or more monitoring scripts, executable code of the target application during the runtime of the target process, wherein the modified executable code is configured to generate monitoring data from the runtime of the target process and to store the monitoring data into the memory during the runtime of the target process, wherein the modifying operation includes modifying one or more instructions in a target function of the target application during runtime of the target process to include instructions that call monitoring interceptor code within the one or more monitoring scripts; and
accessing, by the one or more monitoring scripts in the monitoring thread, the monitoring data in the memory after the monitoring data is stored into the memory.
|