Patents
US 7,500,245 B2#33853693 Most CitedExpiredUnited States (USPTO)Utility

Changing code execution path using kernel mode redirection

3Forward Citations (#33853693 Global)
0.2/yrCitation Velocity (#35651010 Global)
0.99Citation PageRank (#42050457 Global)
12Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A mechanism for redirecting a code execution path in a running process. A one-byte interrupt instruction (e.g., INT 3) is inserted into the code path. The interrupt instruction passes control to a kernel handler, which after executing a replacement function, returns to continue executing the process. The replacement function resides in a memory space that is accessible to the kernel handler. The redirection mechanism may be applied without requiring a reboot of the computing device on which the running process is executing. In addition, the redirection mechanism may be applied without overwriting more than one byte in the original code.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 3.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    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

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗