Towards reverse engineering of intermediate code for documentation generators

Authors Michael Moser
Michael Pfeiffer
Josef Pichler
Editors Martin Pinzger
Gabriele Bavota
Andrian Marcus
Title Towards reverse engineering of intermediate code for documentation generators
Booktitle Proceedings of the 2017 IEEE 24th International Conference on Software Analysis, Evolution, and Reengineering (SANER 2017)
Type in proceedings
Mark Best Poster Award
ISBN 978-5090-5501-2
DOI 10.1109/SANER.2017.7884673
Month February
Year 2017
Pages 553-554
SCCH ID# 17002
Abstract

We describe the motivation, approach and first experience from reverse engineering Common Intermediate Language (CIL) for the purpose of documentation generation. Instead of parsing source code implemented in different programming languages, we reverse engineer CIL code and thereby enable documentation generation for all programming languages that can be compiled into CIL code. Initial results show that we are able to generate documents in the same quality as compared to directly analyzing source code. To overcome initial shortcomings we introduce additional preprocessing in form of AST refactoring which is not required when analyzing source code.