Patent ID: 7249349

Claim:
A computer-implemented method of reverting a process in an in-line instrumented state to an uninstrumented state, said method comprising: receiving a child process having inherited an instrumented parent process' context including the parent's program text that may have been modified by instrumentation resulting in an instrumented code space; modifying text segment portions selected from said child process resulting in an uninstrumented code space that is an uninstrumented version of said instrumented code space; unmapping said instrumented code space such that said instrumented code space is inaccessible to said child process; provided an instruction pointer resides in said instrumented code space, updating said instruction pointer to point to said uninstrumented code space; and executing said child process and, provided said child process generates a fault by seeking to access an address in said instrumented code space which is inaccessible due to being unmapped, providing an address in said uninstrumented code space that corresponds to said address in said instrumented code.