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 条
  • [41] Method of detecting useless objects of C++ programs
    Zhang, Weifeng
    Xu, Baowen
    Xiaoxing Weixing Jisuanji Xitong/Mini-Micro Systems, 2000, 21 (05): : 512 - 515
  • [42] A tool to automatically detect defects in C++ programs
    Sarala, S
    Valli, S
    INTELLIGENT INFORMATION TECHNOLOGY, PROCEEDINGS, 2004, 3356 : 302 - 314
  • [43] Measuring the intensity of object coupling in C++ programs
    Ma, CS
    Chang, CK
    Cleland-Huang, J
    25TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE & APPLICATIONS CONFERENCE, 2001, : 538 - 543
  • [44] Analysis of interface method between Matlab and visual C++
    Shi, Bo
    Chen, Shuzhen
    Shen, Hai'ou
    Jisuanji Gongcheng/Computer Engineering, 2000, 26 (03): : 98 - 100
  • [45] A study of dynamic memory management in C++ programs
    Lee, WH
    Chang, M
    COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2002, 28 (03) : 237 - 272
  • [46] Automatic design patterns identification of C++ programs
    Espinoza, FAC
    Esquer, GN
    Cansino, JS
    EURASIA-ICT 2002: INFORMATION AND COMMUNICATION TECHNOLOGY, PROCEEDINGS, 2002, 2510 : 816 - 823
  • [47] MagicDetector: A Precise and Scalable Static Deadlock Detector for C/C++ Programs
    Huaxiong Cao
    Naijie Gu
    Yunkai Du
    Arabian Journal for Science and Engineering, 2016, 41 : 5149 - 5167
  • [48] Runtime Countermeasures for Code Injection Attacks Against C and C++ Programs
    Younan, Yves
    Joosen, Wouter
    Piessens, Frank
    ACM COMPUTING SURVEYS, 2012, 44 (03)
  • [49] Contrasting branch characteristics and branch predictor performance of C++ and C programs
    Tang, DCD
    Maynard, AMG
    John, LK
    1999 IEEE INTERNATIONAL PERFORMANCE, COMPUTING AND COMMUNICATIONS CONFERENCE, 1999, : 275 - 283
  • [50] Fast analysis of source code in C and C++
    V. O. Savitskii
    D. V. Sidorov
    Programming and Computer Software, 2013, 39 : 49 - 55