发明名称 Recompiling with generic to specific replacement
摘要 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.
申请公布号 US8726255(B2) 申请公布日期 2014.05.13
申请号 US201213461757 申请日期 2012.05.01
申请人 GOUNARES ALEXANDER G.;GARRETT CHARLES D.;CONCURIX CORPORATION 发明人 GOUNARES ALEXANDER G.;GARRETT CHARLES D.
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址
您可能感兴趣的专利