Recompiling with generic to specific replacement
US8726255B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | May 1, 2012 |
| Grant date | May 13, 2014 |
| Priority date | — |
| Expiry date | Jun 24, 2032 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/53
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Executable code may be recompiled so that generic portions of code may be replaced with specific portions of code. The recompilation may customize executable code for a specific use or configuration, making the code lightweight and executing faster. The replacement mechanism may replace variable names with fixed values, replace conditional branches with only those branches which are known to be executed, and may eliminate executable code portions that are not executed. The replacement mechanism may comprise identifying known values defined in the executable code for variables, and replacing those variables with the constant value. Once the constants are substituted, the code may be analyzed to identify branches that may be evaluated using the constant values. Those branches may be reformed using the constant value and the rest of the conditional code that may not be accessed may be removed.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.