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 an interrupt handler; executing a replacement function called by said interrupt handler; and returning to said running process.