A flexible, (C)LP-based approach to the analysis of object-oriented programs

被引:31
|
作者
Mendez-Lojo, Mario [1 ]
Navas, Jorge [1 ]
Hermenegildo, Manuel V. [1 ]
机构
[1] Univ New Mexico, Albuquerque, NM 87131 USA
关键词
D O I
10.1007/978-3-540-78769-3_11
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Static analyses of object-oriented programs usually rely on intermediate representations that respect the original semantics while having a more uniform and basic syntax. Most of the work involving object-oriented languages and abstract interpretation usually omits the description of that language or just refers to the Control Flow Graph (CFG) it represents. However, this lack of formalization on one hand results in an absence of assurances regarding the correctness of the transformation and on the other it typically strongly couples the analysis to the source language. In this work we present a framework for analysis of object-oriented languages in which in a first phase we transform the input program into a representation based on Horn clauses. This facilitates on one hand proving the correctness of the transformation attending to a simple condition and on the other allows applying existing analyzers for (constraint) logic programming to automatically derive a safe approximation of the semantics of the original program. The approach is flexible in the sense that the first phase decouples the analyzer from most language-dependent features, and correct because the set of Horn clauses returned by the transformation phase safely approximates the standard semantics of the input program. The resulting analysis is also reasonably scalable due to the use of mature, modular (C)LP-based analyzers. This allows us to report good results for medium-sized programs.
引用
收藏
页码:154 / 168
页数:15
相关论文
共 50 条
  • [41] OBJECT-ORIENTED APPROACH
    TESLER, LG
    COMMUNICATIONS OF THE ACM, 1991, 34 (08) : 13 - 14
  • [42] Object-Oriented Approach to I/O Handling in Control Programs
    Rzonca, Dariusz
    Sadolewski, Jan
    Trybus, Bartosz
    PROGRESS IN AUTOMATION, ROBOTICS AND MEASURING TECHNIQUES: CONTROL AND AUTOMATION, 2015, 350 : 223 - 232
  • [43] An object-oriented approach to calculation control in finite element programs
    Mackie, RI
    COMPUTERS & STRUCTURES, 2000, 77 (05) : 461 - 474
  • [44] A reverse engineering approach for software testing of object-oriented programs
    Kung, D
    Hsia, P
    ASSET'99: 1999 IEEE SYMPOSIUM ON APPLICATION-SPECIFIC SYSTEMS AND SOFTWARE ENGINEERING & TECHNOLOGY - PROCEEDINGS, 1999, : 42 - 49
  • [45] An approach to prioritize the regression test cases of object-oriented programs
    Chhabi Rani Panigrahi
    Rajib Mall
    CSI Transactions on ICT, 2013, 1 (2) : 159 - 173
  • [46] A novel approach for dynamic slicing of distributed object-oriented programs
    Mohapatra, DP
    Mall, R
    Kumar, R
    DISTRIBUTED COMPUTING AND INTERNET TECHNOLOGY, PROCEEDINGS, 2004, 3347 : 304 - 309
  • [47] Object-oriented domain analysis for flexible manufacturing systems
    Chakravarty, AK
    Jain, HK
    Liu, JJ
    Nazareth, DL
    INTEGRATED COMPUTER-AIDED ENGINEERING, 1997, 4 (04) : 290 - 309
  • [48] Object-oriented approach of MCTPN for modelling flexible manufacturing systems
    Kuo, CH
    Huang, HP
    Yeh, MC
    INTERNATIONAL JOURNAL OF ADVANCED MANUFACTURING TECHNOLOGY, 1998, 14 (10): : 737 - 749
  • [49] Object-oriented approach of MCTPN for modelling Flexible manufacturing systems
    Chung-Hsien Kuo
    Han-Pang Huang
    Min-Chin Yeh
    The International Journal of Advanced Manufacturing Technology, 1998, 14 : 737 - 749
  • [50] Slicing object-oriented Ada95 programs based on dependence analysis
    Xu, B.W.
    Chen, Z.Q.
    Zhou, X.Y.
    Ruan Jian Xue Bao/Journal of Software, 2001, 12 (SUPPL.): : 208 - 213