1. A method of redirecting a code execution path in a running process, comprising: injecting an instruction into said code execution path; passing control to a kernel handler; executing a replacement function called by said kernel handler; and returning to said code execution path.