System and method for processing breakpoint events in a child process generated by a parent process
First Claim
1. A software tool, comprising:
- logic configured to enable a child process that inherits the address space of an instrumented parent process to execute as if the child process was generated from an unaltered version of the address space when the child process inherits the altered address space of the parent process.
1 Assignment
0 Petitions
Accused Products
Abstract
A software tool includes logic configured to enable a child process that inherits the address space of a modified parent process to execute an unaltered version of the address space when the child process inherits the altered address space of the parent process. A method for processing breakpoint events in a child process created from a parent process, when the parent process is modified by a software tool includes, storing unmodified parent process code replaced by each occurrence of a breakpoint inserted into the address space during modification of the parent process, monitoring execution of a child process created by the parent process for an initial breakpoint in the address space, suspending execution of the child process in response to an initial breakpoint, replacing each occurrence of a breakpoint in the address space with the unmodified parent process code, and resuming execution of the child process.
91 Citations
19 Claims
-
1. A software tool, comprising:
logic configured to enable a child process that inherits the address space of an instrumented parent process to execute as if the child process was generated from an unaltered version of the address space when the child process inherits the altered address space of the parent process. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A method for processing breakpoint events in a child process created from a parent process, wherein the parent process is instrumented by a software tool, the method comprising:
-
storing uninstrumented parent process code replaced by each occurrence of a breakpoint inserted into the address space during instrumentation of the parent process;
monitoring execution of a child process created by the parent process for an initial breakpoint in the address space;
suspending execution of the child process in response to the initial breakpoint;
replacing each occurrence of a breakpoint in the address space with the uninstrumented parent process code; and
resuming execution of the child process. - View Dependent Claims (8, 9)
-
-
10. A method for run-time measuring a parent process instrumented by a software tool, where the parent process includes a fork instruction, the method comprising:
-
storing each occurrence of a breakpoint located in an address space associated with a parent process during instrumentation of the parent process;
monitoring execution of the parent process for an indication that the parent process is about to resume execution after the termination of a child process generated in response to a fork instruction, wherein the address space has been altered;
suspending execution of the parent process in response to the indication that the parent process is about to resume after termination of a child process generated in response to the fork instruction;
restoring each breakpoint located in the address space during instrumentation of the parent process to the address space; and
resuming execution of the parent process. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A computer-readable medium, comprising:
-
logic configured to enable a child process that inherits an instrumented address space of an instrumented parent process to execute as if the child process was generated from an uninstrumented address space; and
logic configured to enable execution of the instrumented parent process after the child process terminates. - View Dependent Claims (16, 17, 18, 19)
-
Specification