...
首页> 外文期刊>International Journal of Computational Science and Engineering >A sound abstract memory model for static analysis of C programs
【24h】

A sound abstract memory model for static analysis of C programs

机译:C程序静态分析的声抽象记忆模型

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

摘要

memory model plays an important role in the static analysis of programs. This paper proposes a region-based symbolic three-valued logic (RSTVL) to guarantee the soundness of static analysis, which utilises abstract regions to simulate blocks of the concrete memory. RSTVL applies symbolic expressions to express the value of memory objects, and the interval domain to describe the value of each symbol of symbolic expressions. Various operations for memory objects can be mapped to operations about regions. As a sound abstract memory model, RSTVL can describe the shape information of data structure in memory and the storage state of memory objects for C programs, and a variety of associative addressable expressions, including the point-to relations, hierarchical and valued logic relations. We have built a prototype tool DTSC_RSTVL that detects code level defects in C programs. Five popular C programs are analysed, the results indicate that the analysis is sufficiently sound to detect code level defects with zero false negative rate.
机译:记忆模式在程序的静态分析中起着重要作用。本文提出了一种基于地区的符号三价逻辑(RSTVL),以保证静态分析的声音,它利用抽象区域来模拟混凝土存储器的块。 RSTVL应用符号表达式以表达内存对象的值,以及间隔域来描述符号表达式的每个符号的值。可以将内存对象的各种操作映射到关于区域的操作。作为声音摘要存储器模型,RSTVL可以描述存储器中数据结构的形状信息和用于C程序的存储器对象的存储状态,以及各种关联可寻址表达式,包括点与关系,分层和值逻辑关系。我们建立了一个原型工具DTSC_RSTVL,可检测C程序中的代码级别缺陷。分析了五个流行的C程序,结果表明,分析足以检测零假负速率的码级缺陷。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号