Use of compiler intermediate representation for reverse engineering: a case study for GCC compiler and UML activity diagram - CEA - Commissariat à l’énergie atomique et aux énergies alternatives Accéder directement au contenu
Communication Dans Un Congrès Année : 2022

Use of compiler intermediate representation for reverse engineering: a case study for GCC compiler and UML activity diagram

Résumé

Nowadays systems are no longer made from scratch, they use existing third-party components or legacy software. Providing methods/techniques to facilitate the comprehension of existing software is beneficial to increase productivity, especially when dealing with their reuse and/or modernization. Model Driven Engineering (MDE) offers a set of guidelines to manage the complexity of software systems during their development. In that context, the reverse-engineering process aims to describe a source code at higher level of abstraction using automatic transformations. This paper proposes an extensible MDE approach for behavioural reverse engineering. The proposed approach aims to make the reverse transformation independent of the source programming language. Starting from a given source code written in any programming language, the proposed approach integrates an intermediate step based on compilers front-end to generate an intermediate representation. Then, it performs a model transformation to extract behavioural aspects from the source code and generates a graph that describes its control flow. The different steps of the approach are automated. We apply the approach to case study using GCC and GIMPLE as intermediate representation and UML activity diagram as control flow graph to show its viability
Fichier principal
Vignette du fichier
MODELSWARD_2022_18_CR.pdf (642.96 Ko) Télécharger le fichier
Origine : Publication financée par une institution

Dates et versions

cea-04479779 , version 1 (27-02-2024)

Identifiants

  • HAL Id : cea-04479779 , version 1

Citer

Rania Mzid, Asma Charfi, Etteyeb Nejmeddine. Use of compiler intermediate representation for reverse engineering: a case study for GCC compiler and UML activity diagram. MODELSWARD 2022 - 10th International Conference on Model-Driven Engineering and Software Development, Feb 2022, Online streaming, United States. pp.211-218. ⟨cea-04479779⟩
15 Consultations
6 Téléchargements

Partager

Gmail Facebook X LinkedIn More