发明名称 Migration assistance using compiler metadata
摘要 Systems and methods are migration assistance using compiler metadata. An example system includes a data module that receives data associated with a compiler. The data includes a set of rules associated with the compiler. The example system also includes an extraction module that extracts from the data, compiler metadata including the set of rules associated with the compiler. The example system further includes a database that stores the compiler metadata. The example system also includes a patch module that receives a program including source code, retrieves from the database the compiler metadata, and generates, without compiling the received program, a set of migration patches based on the received program and the compiler metadata. The set of migration patches includes one or more changes to the received program to abide by the set of rules associated with the compiler.
申请公布号 US9223570(B2) 申请公布日期 2015.12.29
申请号 US201313886054 申请日期 2013.05.02
申请人 Red Hat, Inc. 发明人 Kannan Shakthi
分类号 G06F9/44;G06F9/45 主分类号 G06F9/44
代理机构 Haynes and Boone, LLP 代理人 Haynes and Boone, LLP
主权项 1. A computer-implemented method of migration assistance using compiler metadata comprising: receiving first data associated with a first compiler, the first data including a first set of rules associated with the first compiler; receiving second data associated with a second compiler, the second data including a second set of rules associated with the second compiler; extracting first compiler metadata from the first data, the first compiler metadata including the first set of rules associated with the first compiler; extracting second compiler metadata from the second data, the second compiler metadata including the second set of rules associated with the second compiler; comparing the first and second compiler metadata; identifying one or more differences between the first and second compiler metadata based on the comparison; storing the one or more differences into a database; receiving a program including source code; retrieving the one or more differences between the first and second compiler metadata from the database; and generating, without compiling the received program, a set of migration patches based on the received program and the one or more differences between the first and second compiler metadata.
地址 Raleigh NC US