A symbolic analysis framework for static analysis of imperative programming languages

被引:6
|
作者
Burgstaller, Bernd [1 ]
Scholz, Bernhard [2 ]
Blieberger, Johann [3 ]
机构
[1] Yonsei Univ, Seoul 120749, South Korea
[2] Univ Sydney, Sydney, NSW 2006, Australia
[3] Vienna Univ Technol, A-1040 Vienna, Austria
基金
澳大利亚研究理事会; 新加坡国家研究基金会;
关键词
Static program analysis; Symbolic analysis; Path expression algebra; Programming language semantics; INDUCTION VARIABLES; EXECUTION; CHECKING;
D O I
10.1016/j.jss.2011.11.1039
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a generic symbolic analysis framework for imperative programming languages. Our framework is capable of computing all valid variable bindings of a program at given program points. This information is invaluable for domain-specific static program analyses such as memory leak detection, program parallelization, and the detection of superfluous bound checks, variable aliases and task deadlocks. We employ path expression algebra to model the control flow information of programs. A homomorphism maps path expressions into the symbolic domain. At the center of the symbolic domain is a compact algebraic structure called supercontext. A supercontext contains the complete control and data flow analysis information valid at a given program point. Our approach to compute supercontexts is based purely on algebra and is fully automated. This novel representation of program semantics closes the gap between program analysis and computer algebra systems, which makes supercontexts an ideal symbolic intermediate representation for all domain-specific static program analyses. Our approach is more general than existing methods because it can derive solutions for arbitrary (even intra-loop and nested loop) nodes of reducible and irreducible control flow graphs. We prove the correctness of our symbolic analysis method. Our experimental results show that the problem sizes arising from real-world applications such as the SPEC95 benchmark suite are tractable for our symbolic analysis framework. (C) 2011 Elsevier Inc. All rights reserved.
引用
收藏
页码:1418 / 1439
页数:22
相关论文
共 50 条
  • [31] A static analysis for quantifying information flow in a simple imperative language
    Clark, David
    Hunt, Sebastian
    Malacaria, Pasquale
    JOURNAL OF COMPUTER SECURITY, 2007, 15 (03) : 321 - 371
  • [32] Polygonal data analysis: A new framework in symbolic data analysis
    Silva, Wagner J. F.
    Souza, Renata M. C. R.
    Cysneiros, Francisco Jose A.
    KNOWLEDGE-BASED SYSTEMS, 2019, 163 : 26 - 35
  • [33] Synthesizing Imperative Programs from Examples Guided by Static Analysis
    So, Sunbeom
    Oh, Hakjoo
    STATIC ANALYSIS (SAS 2017), 2017, 10422 : 364 - 381
  • [34] Static Analysis of Communicating Processes Using Symbolic Transducers
    Botbol, Vincent
    Chailloux, Emmanuel
    Le Gall, Tristan
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, VMCAI 2017, 2017, 10145 : 73 - 90
  • [35] A Symbolic Simulator Platform for the Static Analysis of Thin Plates
    Costa, D. M. S.
    Bernardo, G. M. S.
    Loja, M. A. R.
    INTERNATIONAL JOURNAL OF ONLINE ENGINEERING, 2016, 12 (04) : 7 - 10
  • [36] On the symbolic analysis of market indicators with the dynamic programming approach
    Pichl, Lukas
    Yamano, Takuya
    Kaizoji, Taisei
    ADVANCES IN NEURAL NETWORKS - ISNN 2006, PT 3, PROCEEDINGS, 2006, 3973 : 432 - 441
  • [37] Sensitivity analysis of genetic programming: A case of symbolic regression
    Chen, SH
    Kuo, TW
    Shieh, YP
    PROCEEDINGS OF THE 6TH JOINT CONFERENCE ON INFORMATION SCIENCES, 2002, : 1119 - 1122
  • [38] Face recognition using symbolic KDA in the framework of symbolic data analysis
    Hiremath, P. S.
    Prabhakar, C. J.
    PROCEEDINGS OF THE SIXTH INTERNATIONAL CONFERENCE ON ADVANCES IN PATTERN RECOGNITION, 2007, : 56 - +
  • [40] Static analysis of logical languages with deferred update semantics
    Catania, B
    Bertino, E
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2003, 15 (02) : 386 - 404