首页> 外文OA文献 >Termination Analysis of C Programs Using Compiler Intermediate Languages
【2h】

Termination Analysis of C Programs Using Compiler Intermediate Languages

机译:使用编译器中间语的C程序终止分析

摘要

Modeling the semantics of programming languages like C for theautomated termination analysis of programs is a challenge if completecoverage of all language features should be achieved. On the otherhand, low-level intermediate languages that occur during thecompilation of C programs to machine code have a much simplersemantics since most of the intricacies of C are taken care of by thecompiler frontend. It is thus a promising approach to use theseintermediate languages for the automated termination analysis of Cprograms. In this paper we present the tool KITTeL based on thisapproach. For this, programs in the compiler intermediate languageare translated into term rewrite systems (TRSs), and the terminationproof itself is then performed on the automatically generated TRS. Anevaluation on a large collection of C programs shows the effectivenessand practicality of KITTeL on "typical" examples.
机译:如果应该完全涵盖所有语言功能,那么对诸如C之类的编程语言的语义进行建模以进行程序的自动终止分析是一个挑战。另一方面,在C程序编译为机器代码的过程中出现的低级中间语言具有更简单的语义,因为大多数C的复杂性都是由编译器前端处理的。因此,使用这些中间语言进行C程序的自动终止分析是一种很有前途的方法。在本文中,我们介绍了基于此方法的工具KITTeL。为此,将编译器中间语言中的程序翻译成术语重写系统(TRS),然后在自动生成的TRS上执行终止验证本身。对大量C程序的评估表明,“典型”示例具有KITTeL的有效性和实用性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号