Patents
US 8,990,814 B2#56581940 Most CitedActiveUnited States (USPTO)Utility

Replacement of virtual functions

1Forward Citations (#56581940 Global)
0.1/yrCitation Velocity (#47600150 Global)
0.80Citation PageRank (#56581940 Global)
5Prior Art Cited
3Claims (2 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

Techniques are described for replacement of virtual functions. In one or more implementations, a call to a virtual function is intercepted and redirected to a shim module associated with a replacement function. The shim module is configured to adjust a pointer (e.g., a “this” pointer) for the virtual function. In at least some embodiments, the pointer can be adjusted based on information retrieved from symbol data for the virtual function. The replacement function can utilize the adjusted pointer to access an object instance associated with the virtual function. For example, the replacement function can use the adjusted pointer to access data and/or functionalities of the object instance.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 2 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    One or more computer-readable hardware storage media comprising computer-readable instructions which are executable to cause a computing device to perform operations comprising: adjusting a pointer received as part of a redirected call to a target virtual function; jumping from the target virtual function to shim functionality using the adjusted pointer; causing the shim functionality to readjust the adjusted pointer; and jumping to a replacement function with the readjusted pointer to enable the replacement function to utilize the readjusted pointer to interact with an object instance associa

  2. Claim 2Depends on #1

    The one or more computer-readable hardware storage media of claim 1 , wherein the adjusted pointer comprises a this pointer associated with the target virtual function.

  3. Claim 3Independent Claim

Technical Overview & Description

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

Cited By — Indexed Forward Citations (1 of 1 total)

Non-Patent Literature (5)

  • "Using Interception with Unity", Retrieved at >, Retrieved Date: Jul. 28, 2011, pp. 5.
  • "Virtual Method Tables", Retrieved at >, May 8, 2011, pp. 7.
  • “Using Interception with Unity”, Retrieved at <<http://msdn.microsoft.com/en-us/library/ff647107.aspx>>, Retrieved Date: Jul. 28, 2011, pp. 5.
  • “Virtual Method Tables”, Retrieved at <<http://eelcovisser.org/post/11/virtual-method-tables>>, May 8, 2011, pp. 7.
  • Crankhank, "DLL Injection and Function Interception Tutorial", Retrieved at <<http://www.codeproject.com/KB/DLL/DLL-Injection-tutorial.aspx?msg=700762, Oct. 23, 2003, pp. 5.