Analysis of entities in C and C++ programs and relations between them for program understanding
- Authors: Belevantsev A.A.1,2, Veselevich E.A.1, Ivannikov V.P.1,2,3
-
Affiliations:
- Institute for System Programming
- Moscow State University
- Moscow Institute of Physics and Technology State University
- Issue: Vol 42, No 1 (2016)
- Pages: 49-53
- Section: Article
- URL: https://journal-vniispk.ru/0361-7688/article/view/176405
- DOI: https://doi.org/10.1134/S0361768816010023
- ID: 176405
Cite item
Abstract
A tool for the static analysis of programs that can detect entities in C and C++ programs, their metrics, and relations between them is considered. The program entities are files, functions, classes, methods, etc., and relations are calls, inheritance, read/write operations of global variables, file inclusion, and aggregation. Methods for the development of such a tool based on the open compiler infrastructure LLVM [1], including the necessary modifications in the Clang compiler [2], and the developed analyzer are described. Results of the tool testing on the Android code are presented.
About the authors
A. A. Belevantsev
Institute for System Programming; Moscow State University
Author for correspondence.
Email: abel@ispras.ru
Russian Federation, Moscow, 109004; Moscow, 119991
E. A. Veselevich
Institute for System Programming
Email: abel@ispras.ru
Russian Federation, Moscow, 109004
V. P. Ivannikov
Institute for System Programming; Moscow State University; Moscow Institute of Physics and Technology State University
Email: abel@ispras.ru
Russian Federation, Moscow, 109004; Moscow, 119991; Dolgoprudny, Moscow oblast, 141700
Supplementary files
