Testing a PL/I Compiler Using Precomputation-based Program Generation

Authors
Publication date 2022
Book title Proceedings, 2022 IEEE 15th International Conference on Software Testing, Verification and Validation
Book subtitle 4-13 April 2022, virtual event
ISBN
  • 9781665466806
ISBN (electronic)
  • 9781665466790
Series ICST
Event 15th IEEE International Conference on Software Testing, Verification and Validation, ICST 2022
Pages (from-to) 334-344
Number of pages 11
Publisher Los Alamitos, California: IEEE Computer Society
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract

In automated compiler testing, the focus typically lies in uncovering bugs caused by optimisations performed by the compiler. However, there is a class of compilers where little to no optimisations are performed: those for migration of legacy software. Therefore, it is not clear to what extent such legacy compilers would benefit from automated compiler testing. We investigated this in the context of the Raincode legacy compiler for PL/I, an industrial compiler targeting the. NET platform. We designed and implemented a framework for automated PL/I compiler testing through precomputation-based program generation and ran it on two versions of the Raincode PL/I compiler: an older with known bugs and the latest release. On the older version, our framework generated around 127.000 programs and found five bugs, two of which were previously unknown to us. For the latest compiler release, after 180 hours of tests and more than 718.000 generated programs, the framework did not reveal any bugs.

Document type Conference contribution
Language English
Published at https://doi.org/10.1109/ICST53961.2022.00042
Other links https://www.scopus.com/pages/publications/85133291866 https://www.proceedings.com/64255.html
Permalink to this page
Back