Patent · US Active

Replacement of virtual functions

US9348610B2 · kind B2 · utility

0Cited by
4References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateFeb 23, 2015
Grant dateMay 24, 2016
Priority date
Expiry dateFeb 23, 2035

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2209/542
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.