Abstract
Software modernization often involves complex code transformations that convert legacy code to new architectures or platforms, while preserving the semantics of the original programs. We present the lessons learnt from an industrial software modernization project of considerable size. This includes collecting requirements for a code-to-model transformation, designing and implementing the transformation algorithm, and then validating correctness of this transformation for the code-base at hand. Our transformation is implemented in the TXL rewriting language and assumes specifically structured C++ code as input, which it translates to a declarative configuration model. The correctness criterion for the transformation is that the produced model admits the same configurations as the input code. The transformation converts C++ functions specifying around a thousand configuration parameters. We verify the correctness for each run individually, using translation validation and symbolic execution. The technique is formally specified and is applicable automatically for most of the code-base.
Originalsprog | Engelsk |
---|---|
Titel | Proceedings of the 30th ACM/IEEE international conference on Automated software engineering |
Forlag | IEEE |
Publikationsdato | nov. 2015 |
Sider | 597 - 607 |
ISBN (Trykt) | 978-1-5090-0024-1 |
DOI | |
Status | Udgivet - nov. 2015 |
Begivenhed | 30th IEEE/ACM International Conference on Automated Software Engineering - Embassy Suites Lincoln, Lincoln, Nebraska, USA Varighed: 9 nov. 2015 → 13 nov. 2015 Konferencens nummer: 30 http://ase2015.unl.edu/#tab-main |
Konference
Konference | 30th IEEE/ACM International Conference on Automated Software Engineering |
---|---|
Nummer | 30 |
Lokation | Embassy Suites Lincoln |
Land/Område | USA |
By | Lincoln, Nebraska |
Periode | 09/11/2015 → 13/11/2015 |
Internetadresse |
Emneord
- Software modernization
- Code transformation
- Legacy code
- TXL rewriting
- Symbolic execution