Generating type-safe wrappers for dynamic detouring
US8726239B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | May 5, 2010 |
| Grant date | May 13, 2014 |
| Priority date | — |
| Expiry date | Aug 28, 2032 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F11/3696
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
An isolation system is described for converting original product code into corresponding modified code. The isolation system operates by identifying a subset of original methods to be converted. For each such original method, the isolation system generates a modified part having at least one property with a type-safe delegate type which matches a signature of the original method. Test code, which tests the product code, can then associate a delegate instance to the thus-defined property of the original method. This prompts an execution system to dynamically execute detour code associated with the delegate instance, rather than an instrumentation of the original method, thus avoiding dependency on potentially non-deterministic functionality which would be otherwise invoked by an instrumentation of the original method.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.