Title :
Portability by automatic translation a large-scale case study
Author :
Feldman, Yishai A. ; Friedman, Doron A.
Author_Institution :
Dept. of Comput. Sci., Tel Aviv Univ., Israel
Abstract :
Automatic code translation could be a useful technique for software migration, provided it can be done in large-scale industrial applications. We have built an automatic translation system for converting IBM 370 assembly-language programs to C, in order to port the original programs to different architectures. This system, called Bogart, first analyzes the original program in terms of data flow and control flow, and translates it into an abstract internal representation. It performs various transformations on the abstract representation, and finally re-implements it in the target language. Bogart was successfully tested on several large modules with thousands of lines of assembly code each, taken from a commercial database system and application generator. The results of this research are compared with the brute-force approach first implemented by the company, showing Bogart to be superior on all counts. This research is unusual in that it took place in industry, and had a clear objective of translating a real program and not just demonstrating the feasibility of the approach in an academic setting. Lessons from this experience are discussed at the end of the paper
Keywords :
C language; application generators; assembly language; data flow analysis; database management systems; program diagnostics; program interpreters; software portability; Bogart system; C programs; IBM 370 assembly-language program conversion; abstract internal representation; application generator; architectures; automatic code translation; brute-force approach; commercial database system; control flow; data flow; large-scale industrial applications; portability; software migration; Application software; Assembly systems; Automatic control; Computer architecture; Computer industry; Control systems; Database systems; Electrical equipment industry; Large-scale systems; System testing;
Conference_Titel :
Knowledge-Based Software Engineering Conference, 1995 .Proceedings., 10th
Conference_Location :
Boston, MA
Print_ISBN :
0-8186-7204-8
DOI :
10.1109/KBSE.1995.490127