首页> 外文会议>Joint Modular Languages Conference(JMLC 2006); 20060913-15; Oxford(GB) >Symbolic Analysis of Imperative Programming Languages
【24h】

Symbolic Analysis of Imperative Programming Languages

机译:命令式编程语言的符号分析

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

摘要

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 parallelisation, 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 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) 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.
机译:我们为命令式编程语言提供了一个通用的符号分析框架。我们的框架能够在给定的程序点计算程序的所有有效变量绑定。对于特定于领域的静态程序分析(例如内存泄漏检测,程序并行化以及多余的绑定检查,变量别名和任务死锁的检测),此信息是无价的。我们使用路径表达式代数来建模程序的控制流信息。同态将路径表达式映射到符号域中。符号域的中心是一个紧凑的代数结构,称为超上下文。超上下文包含在给定程序点有效的完整控制和数据流分析信息。我们计算超上下文的方法完全基于代数,并且是完全自动化的。程序语义的这种新颖表示形式弥合了程序分析和计算机代数系统之间的鸿沟,这使超上下文成为所有特定于领域的静态程序分析的理想中间表示形式。我们的方法比现有方法更具通用性,因为它可以为可简化和不可简化控制流程图的任意(甚至环内)节点派生解。我们证明了我们的符号分析方法的正确性。我们的实验结果表明,对于我们的符号分析框架而言,由诸如SPEC95基准套件之类的实际应用程序引起的问题规模是可以解决的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号