A REWRITING LOGIC SEMANTICS APPROACH TO MODULAR PROGRAM ANALYSIS

被引:7
|
作者
Hills, Mark [1 ]
Rosu, Grigore [2 ]
机构
[1] Ctr Wiskunde & Informat, Sci Pk 123, NL-1098 XG Amsterdam, Netherlands
[2] Univ Illinois, Dept Comp Sci, Urbana, IL 61801 USA
关键词
K; rewriting logic semantics; program analysis; LANGUAGE; VERIFICATION;
D O I
10.4230/LIPIcs.RTA.2010.151
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The K framework, based on rewriting logic semantics, provides a powerful logic for defining the semantics of programming languages. While most work in this area has focused on defining an evaluation semantics for a language, it is also possible to define an abstract semantics that can be used for program analysis. Using the SILF language (Hills, Serbanuta and Rosu, 2007), this paper describes one technique for defining such a semantics: policy frameworks. In policy frameworks, an analysis-generic, modular framework is first defined for a language. Individual analyses, called policies, are then defined as extensions of this framework, with each policy defining analysis-specific semantic rules and an annotation language which, in combination with support in the language front-end, allows users to annotate program types and functions with information used during program analysis. Standard term rewriting techniques are used to analyze programs by evaluating them in the policy semantics.
引用
收藏
页码:151 / 160
页数:10
相关论文
共 50 条
  • [1] A rewriting logic approach to operational semantics
    Serbanuta, Traian Florin
    Rosu, Grigore
    Meseguer, Jose
    [J]. INFORMATION AND COMPUTATION, 2009, 207 (02) : 305 - 340
  • [2] From Rewriting Logic, to Programming Language Semantics, to Program Verification
    Rosu, Grigore
    [J]. LOGIC, REWRITING, AND CONCURRENCY, 2015, 9200 : 598 - 616
  • [3] A Rewriting Logic Approach to Operational Semantics (Extended Abstract)
    Serbanuta, Traian Florin
    Rosu, Grigore
    Meseguer, Jose
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 192 (01) : 125 - 141
  • [4] Modular Rewriting Semantics in Practice
    Braga, Christiano
    Meseguer, Jose
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 117 : 393 - 416
  • [5] A modular rewriting semantics for CML
    Chalub, F
    Braga, C
    [J]. JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2004, 10 (07) : 789 - 807
  • [6] The rewriting logic semantics project
    Meseguer, Jose
    Rosu, Grigore
    [J]. THEORETICAL COMPUTER SCIENCE, 2007, 373 (03) : 213 - 237
  • [7] A rewriting logic semantics for NCL
    dos Santos, Joel
    Braga, Christiano
    Muchaluat-Saade, Debora C.
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2015, 107 : 64 - 92
  • [8] A Rewriting Logic Semantics for ATL
    Troya, Javier
    Vallecillo, Antonio
    [J]. JOURNAL OF OBJECT TECHNOLOGY, 2011, 10 : 1 - 29
  • [9] The Rewriting Logic Semantics Project
    Meseguer, Jose
    Rosu, Grigore
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 156 (01) : 27 - 56
  • [10] Modular rewriting semantics of programming languages
    Meseguer, J
    Braga, C
    [J]. ALGEBRAIC METHODOLOGY AND SOFTWARE TECHNOLOGY: PROCEEDINGS, 2004, 3116 : 364 - 378