Replacement of virtual functions
US8990814B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Nov 3, 2011 |
| Grant date | Mar 24, 2015 |
| Priority date | — |
| Expiry date | Apr 24, 2033 |
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.