Analysis of entities in C and C++ programs and relations between them for program understanding

被引:0
|
作者
A. A. Belevantsev
E. A. Veselevich
V. P. Ivannikov
机构
[1] Russian Academy of Sciences,Institute for System Programming
[2] Moscow State University,undefined
[3] Moscow Institute of Physics and Technology State University,undefined
来源
关键词
Source Code; Trace Linkage; Program Entity; Dynamic Library; Compiler Infrastructure;
D O I
暂无
中图分类号
学科分类号
摘要
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.
引用
收藏
页码:49 / 53
页数:4
相关论文
共 50 条
  • [21] Measuring C++ program efficiency
    Truong, D
    Chan, A
    DR DOBBS JOURNAL, 2000, 25 (10): : 62 - +
  • [22] Improving C++ program performance
    Lippman, S
    DR DOBBS JOURNAL, 1999, 24 (10): : 40 - +
  • [23] Examining C++ program analyzers
    Meyers, Scott
    Klaus, Martin
    Dr. Dobb's Journal, 1997, 22 (02):
  • [24] CADNA-C: A version of CADNA for use with C or C++ programs
    Lamotte J.-L.
    Chesneaux J.-M.
    Jézéquel F.
    Computer Physics Communications, 2010, 181 (11) : 1925 - 1926
  • [25] Scope, a framework of objects to develop structural analysis programs in C++
    Reimann, K
    Gil, L
    Jentsch, M
    Sanchez, M
    DEVELOPMENTS IN ENGINEERING COMPUTATIONAL TECHNOLOGY, 2000, : 117 - 122
  • [26] Orion: High-precision methods for static error analysis of C and C++ programs
    Dams, Dennis R.
    Namjoshi, Kedar S.
    FORMAL METHODS FOR COMPONENTS AND OBJECTS, 2006, 4111 : 138 - 160
  • [27] MAKING A CASE FOR ANIMATING C++ PROGRAMS
    WEST, A
    DR DOBBS JOURNAL, 1994, 19 (11): : 54 - &
  • [28] A study of the allocation behavior of C++ programs
    Chang, JM
    Lee, WH
    Srisa-an, W
    JOURNAL OF SYSTEMS AND SOFTWARE, 2001, 57 (02) : 107 - 118
  • [29] An automatic defect detection for C++ programs
    Sarala, S
    Valli, S
    Advanced Reliability Modeling, 2004, : 419 - 426
  • [30] A toolset for maintaining hybrid C++ programs
    Linos, PK
    Courtois, V
    JOURNAL OF SOFTWARE MAINTENANCE-RESEARCH AND PRACTICE, 1996, 8 (06): : 389 - 419