×

Changing code execution path using kernel mode redirection

  • US 7,500,245 B2
  • Filed: 07/08/2005
  • Issued: 03/03/2009
  • Est. Priority Date: 07/08/2005
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method of redirecting a code execution path in a running process, the code execution path including a plurality of instructions, the method comprising:

  • modifying a kernel handler to upon being called by a first function, returning to an instruction in a replacement function that is separate from the first function;

    overwriting a single one byte instruction in said code execution path with a one byte interrupt instruction while simultaneously leaving a remainder of instructions in the code execution path unaltered, whereupon execution of the one byte interrupt instruction in the running process causes the kernel handler to be called;

    executing the replacement function called by said kernel handler; and

    returning to said code execution path,wherein said method is performed without requiring a reboot of a computing device on which said running process is executing.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×