A framework and tool for porting assessment and remediation
Abstract
We present a framework and tool for porting assessment and code remediation in commercial porting projects, primarily targeting inter-platform C/C++ porting. Our framework has a modular architecture for handling real-world code bases, a key part of which is an extensible knowledge base of porting issue types. Porting issue detection and remediation are achieved through dynamically-linked detector and remediation "plug-ins" which can be augmented over time. Analysis and remediation can be performed over multiple intermediate forms, such as the AST or error logs. Analysis and remediation results can be presented as a single assessment report, or the changes can be incorporated into the original code base. Furthermore our framework has been integrated into Eclipse [1], providing a user interface and allowing further capability for integration with other Eclipse extensions. A subset of our tool has been prototyped and benchmarked against real-world customer code. " 2004 IEEE.