期刊文献+

基于抽象解释的单变量值范围分析

Value range analysis of single variable based on abstract interpretation
下载PDF
导出
摘要 针对传统基于抽象解释的变量值范围分析方法存在覆盖代码程度不高的问题,提出了一种新的描述单变量值区间方法。该方法采用找到数值型子程序的矛盾结点,全面考虑了不同的选择结构和循环结构的嵌套,并考虑了分析精度与效率的问题。以抽象解释理论作为分析框架,研究程序中各个变量的上下文状态,达到验证程序变量是否满足规范的目的。利用公开已有的变量值范围数据对变量值范围分析方法进行的验证表明,与现有的值范围分析方法相比,该方法由于更全面地考虑了不同的嵌套结构,因此取得了更好的结果。 Aiming at the problem of low code coverage in traditional variable value range analysis method based on abstract interpretation,a new method for describing single variable value range is proposed.In this method,the contradictory nodes of numerical subroutines are found,the nesting of different selection structures and cyclic structures is considered comprehensively,and the accuracy and efficiency of the analysis are also considered.The abstract interpretation theory is used as the analysis framework to study the contextual state of each variable in the program,so as to verify whether the program variables satisfy the specifications.The validation of the variable range analysis method by using published data shows that compared with the existing value range analysis method,this method has better results because it considers different nesting structures more comprehensively.
作者 李静 侯春燕 王劲松 Li Jing;Hou Chunyan;Wang Jinsong(School of Computer Science and Engineering,Tianjin University of Technology,Tianjin 300384)Abstract)
出处 《高技术通讯》 EI CAS 北大核心 2019年第10期961-968,共8页 Chinese High Technology Letters
基金 天津市自然科学基金(18JCZDJC30700) 赛尔网络下一代互联网技术创新(NGII20160121)资助项目
关键词 抽象解释 区间抽象 单变量 上下文状态 静态分析 abstract interpretation interval abstraction single variable context state static analysis
  • 相关文献

参考文献3

二级参考文献28

  • 1姬孟洛,李军,王馨,齐治昌.一种基于抽象解释的WCET自动分析工具[J].计算机工程,2006,32(14):54-56. 被引量:10
  • 2姬孟洛,王怀民,李梦君,董威,齐治昌.一种基于抽象解释和通用单调数据流框架的值范围分析方法[J].计算机研究与发展,2006,43(11):2020-2026. 被引量:10
  • 3Nielson F,Nielson H R, Hankin C. Principles of Program Anal ysis[ M ]. Berlin: Springer Verlag, 1999.211 - 282.
  • 4Cousot P, Cousot R. Abstract Interpretation: A unified lattice model for static analysis of programs by construction or ap proximation of fixpoints [ A ]. Proceedings of the 4th ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages[ C] .New York, ACM Press, 1977.238 - 252.
  • 5Cousot P, Cousot R. Static determination of dynamic properties of pmgrams[A ]. Proceedings of the 2nd International Sympo sium on Pmgramming[ C]. Dunod, Paris, 1976.106 - 130.
  • 6Cousot P. Abstract interpretation based formal methods and fu- ture challenges[A]. Informatics-10 Years Back, 10 Years A head[ C]. Iondon: Springer-Verlag, 2001. 138 - 156.
  • 7HaUem S, Chelf B, Xie Y, et al. A system and language for building system-specific, static analyses[ A]. Proceedings of the ACM SIGPLAN 2002 Conference on Programming Language Design and Implementation[ C]. New York: ACM Press,2002. 69 - 82.
  • 8Binkley David. Source Code Analysis: A Road Map[A]. 2007 Future of Software Engineering[ C ]. NW Washington: IEEE Computer Society, 2007. 104 - 119.
  • 9Wang Yawen, Gong Yunzhan, Chen Junliang, et al. An appli- cation of interval analysis in software static analysis[A]. Pro ceedings of the 2008 IEEE/IFIP International Conference on Embedded and Ubiquitous Computing[ C]. NW Washington: IEEE Computer Society, 2008.12: 367 - 372.
  • 10Brian Chess, Jacob West. Secure Programming with Static Analysis [ M ]. Boston MA: Addison-Wesley Professional, 2007.91 - 93.

共引文献30

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部