|
This article is cited in 1 scientific paper (total in 1 paper)
Extracting architectural information from source code of ARINC 653-compatible application software using CEGAR-based approach
S. L. Lesovoy Ivannikov Institute for System Programming of RAS
Abstract:
It may be useful to analyze and reuse some components of legacy systems during development of new systems. By using a model-based approach it is possible to build an architecture model from the existing source code of the legacy system. The purpose of using architecture models is to analyze the system’s static and dynamic features during the development process. These features may include real-time performance, resources consumption, reliability etc. The architecture models can be used as for system analysis as well as for reusing some components of the legacy system in the new design. In many cases it will allow to avoid creation of a new system from scratch. For creation of the architectural models various modeling languages can be used. In the present work Architecture Analysis & Design Language (AADL) is used. The paper describes an algorithm of extracting architectural information from source code of ARINC 653-compatible application software. ARINC 653 specification defines the requirements for software components of Integrated Modular Avionics (IMA) systems. To access the various services of ARINC 653 based OS an application software uses function calls defined in the APplication/Executive (APEX) interface. Architectural information in source code of application software compliant with ARINC 653 specification includes different objects and their attributes such as processes in each partition, objects for interpartition and intrapartition communications, as well as global variables. To collect the architectural information, it is necessary to extract all APEX calls from source code of application software. The extracted architectural information can be further used for creation the architecture models of the system. For source code analysis an approach based on Counterexample-guided abstraction refinement (CEGAR) algorithm is used. CEGAR algorithm explores possible execution paths of the program using its representation in the form of Abstract Reachability Graph (ARG). In a classical CEGAR algorithm a path in a program to be explored is called a counterexample and it means a path to the error state. In CPAchecker tool the basic predicate-based CEGAR algorithm has been extended for explicit-value analysis. In this paper the extended for explicit-value analysis CEGAR algorithm is applied for the task of extracting architecture information from source code. The main contribution of this paper is the application the ideas of counterexample and path feasibility check for the task of extracting the architectural information from source code.
Keywords:
architectural information, architecture models, ARINC 653, IMA, CEGAR.
Citation:
S. L. Lesovoy, “Extracting architectural information from source code of ARINC 653-compatible application software using CEGAR-based approach”, Proceedings of ISP RAS, 30:3 (2018), 31–46
Linking options:
https://www.mathnet.ru/eng/tisp323 https://www.mathnet.ru/eng/tisp/v30/i3/p31
|
Statistics & downloads: |
Abstract page: | 134 | Full-text PDF : | 61 | References: | 27 |
|