首页> 外文会议>International Joint Conference on Automated Reasoning(IJCAR 2004); 20040704-20040708; Cork; GB >Rewriting Logic Semantics: From Language Specifications to Formal Analysis Tools
【24h】

Rewriting Logic Semantics: From Language Specifications to Formal Analysis Tools

机译:重写逻辑语义:从语言规范到形式分析工具

获取原文
获取原文并翻译 | 示例

摘要

Formal semantic definitions of concurrent languages, when specified in a well-suited semantic framework and supported by generic and efficient formal tools, can be the basis of powerful software analysis tools. Such tools can be obtained for free from the semantic definitions; in our experience in just the few weeks required to define a language's semantics even for large languages like Java. By combining, yet distinguishing, both equations and rules, rewriting logic semantic definitions unify both the semantic equations of equational semantics (in their higher-order denotational version or their first-order algebraic counterpart) and the semantic rules of SOS. Several limitations of both SOS and equational semantics are thus overcome within this unified framework. By using a high-performance implementation of rewriting logic such as Maude, a language's formal specification can be automatically transformed into an efficient interpreter. Furthermore, by using Maude's breadth first search command, we also obtain for free a semi-decision procedure for finding failures of safety properties; and by using Maude's LTL model checker, we obtain, also for free, a decision procedure for LTL properties of finite-state programs. These possibilities, and the competitive performance of the analysis tools thus obtained, are illustrated by means of a concurrent Caml-like language; similar experience with Java (source and JVM) programs is also summarized.
机译:当在合适的语义框架中指定并由通用有效的形式化工具支持时,并发语言的形式语义定义可以成为功能强大的软件分析工具的基础。可以从语义定义中免费获得这些工具。根据我们的经验,即使对于像Java这样的大型语言,也仅需要几周的时间就可以定义一种语言的语义。通过组合但又区分方程和规则,重写逻辑语义定义统一了方程式语义的语义方程(在其高阶代名词版本或一阶代数形式中)和SOS的语义规则。因此,在此统一框架内克服了SOS和方程式语义的一些限制。通过使用重写逻辑(例如Maude)的高性能实现,可以将语言的形式规范自动转换为有效的解释器。此外,通过使用Maude的广度优先搜索命令,我们还免费获得了用于发现安全性能故障的半判定程序;通过使用Maude的LTL模型检查器,我们还免费获得了有限状态程序LTL属性的决策程序。这些可能性以及由此获得的分析工具的竞争性能通过并发的类似于Caml的语言进行了说明。还总结了Java(源和JVM)程序的类似经验。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号