Generating precise and concise procedure summaries

被引:11
|
作者
Yorsh, Greta [1 ]
Yahav, Eran [1 ]
Chandra, Satish [1 ]
机构
[1] Tel Aviv Univ, Tel Aviv, Israel
关键词
verification; reliability; languages; algorithms; summarization; composition; relational analysis; symbolic; summary; typestate verification; aliasing; dataflow analysis; micro-transformers;
D O I
10.1145/1328897.1328467
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a framework for generating procedure summaries that are precise - applying the summary in a given context yields the same result as re-analyzing the procedure in that context, and concise - the summary exploits the commonalities in the ways the procedure manipulates abstract values, and does not contain superfluous context information. The use of a precise and concise procedure summary in modular analyses provides a way to capture infinitely many possible contexts in a finite way; in interprocedural analyses, it provides a compact representation of an explicit input-output summary table without loss of precision. We define a class of abstract domains and transformers for which precise and concise summaries can be efficiently generated using our framework. Our framework is rich enough to encode a wide range of problems, including all IFDS and IDE problems. In addition, we show how the framework is instantiated to provide novel solutions to two hard problems: modular linear constant propagation and modular typestate verification, both in the presence of aliasing. We implemented a prototype of our framework that computes summaries for the typestate domain, and report on preliminary experimental results.
引用
收藏
页码:221 / 234
页数:14
相关论文
共 50 条
  • [1] Generating Precise and Concise Procedure Summaries
    Yorsh, Greta
    Yahav, Eran
    Chandra, Satish
    [J]. POPL'08: PROCEEDINGS OF THE 35TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2008, : 221 - 234
  • [2] GENERATING CONCISE NATURAL-LANGUAGE SUMMARIES
    MCKEOWN, K
    ROBIN, J
    KUKICH, K
    [J]. INFORMATION PROCESSING & MANAGEMENT, 1995, 31 (05) : 703 - 733
  • [3] Precise and Compact Modular Procedure Summaries for Heap Manipulating Programs
    Dillig, Isil
    Dillig, Thomas
    Aiken, Alex
    Sagiv, Mooly
    [J]. ACM SIGPLAN NOTICES, 2011, 46 (06) : 567 - 577
  • [4] Precise and Compact Modular Procedure Summaries for Heap Manipulating Programs
    Dillig, Isil
    Dillig, Thomas
    Aiken, Alex
    Sagiv, Mooly
    [J]. PLDI 11: PROCEEDINGS OF THE 2011 ACM CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2011, : 567 - 577
  • [5] Generating Abstract Graph-Based Procedure Summaries for Pointer Programs
    Jansen, Christina
    Noll, Thomas
    [J]. GRAPH TRANSFORMATION, 2014, 8571 : 49 - 64
  • [6] Generating Multiple Diverse Summaries
    Modani, Natwar
    Srinivasan, Balaji Vasan
    Jhamtani, Harsh
    [J]. WEB INFORMATION SYSTEMS ENGINEERING - WISE 2016, PT I, 2016, 10041 : 190 - 198
  • [7] Generating optimal video summaries
    Gong, YH
    Liu, X
    [J]. 2000 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA AND EXPO, PROCEEDINGS VOLS I-III, 2000, : 1559 - 1562
  • [8] Generating Characteristic Summaries for Entity Descriptions
    Cheng, Gong
    Liu, Qingxia
    Qu, Yuzhong
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2023, 35 (05) : 4825 - 4837
  • [9] GENERATING SUMMARIES FROM EVENT DATA
    MAYBURY, MT
    [J]. INFORMATION PROCESSING & MANAGEMENT, 1995, 31 (05) : 735 - 751
  • [10] Generating Extractive Summaries of Scientific Paradigms
    Qazvinian, Vahed
    Radev, Dragomir R.
    Mohammad, Saif M.
    Dorr, Bonnie
    Zajic, David
    Whidby, Michael
    Moon, Taesun
    [J]. JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2013, 46 : 165 - 201