期刊文献+

一个基于两区间八边形约束的抽象域

An abstract domain based on two-interval octagonal constraints
下载PDF
导出
摘要 抽象解释静态程序分析技术用来发现运行时错误,保证程序正确性,已经被成功应用到工业界。抽象域是抽象解释理论中的一个重要方面,然而大部分已存在的数值抽象域无法表示程序的非凸性质,抽象域的这种凸性限制很多时候会影响数值分析的精度,甚至带来更多误报。基于两区间八边形约束,提出了一个新的数值抽象域,其约束形式为x±y∈[a,b]∪[c,d],其中x和y表示变量取值,a,b,c,d∈R。该抽象域的域元素是用两区间八边形约束表示,因此可以表达某类非凸性质,表达能力强于经典的八边形抽象域,并且相对于八边形抽象域,域操作的计算复杂度并没有提高太多。 Static program analysis with abstract interpretation has been successfully applied to industry in order to avoid runtime errors and ensure the correctness of the software. Abstract domain is one of the important aspects in abstract interpretation theory. However, most of the existing numerical abstract domains cannot express non-convex properties. These limitations often affect the precision of numerical analysis and even lead to more false alarms.We propose a numerical abstract domain based on two-interval octagonal constraints. This abstract domain allows us to represent invariants of the form x±y∈[a,b]∪[c,d], where x and y are variable values and a,b,c,d∈R. Domain elements in this abstract domain are represented by two-interval octagonal constraints, so the new abstract domain can express certain non-convex properties and is more expressive than the octagon abstract domain, with only a small overhead in the computational complexity of domain operation.
出处 《计算机工程与科学》 CSCD 北大核心 2017年第4期740-747,共8页 Computer Engineering & Science
基金 国家863计划(2015AA015303) 江苏省研究生培养创新工程(KYLX_0315) 国家自然科学基金(61272038)
关键词 抽象解释 八边形抽象域 两区间 迁移函数 abstract interpretation octagon abstract domain two-interval transfer function
  • 相关文献

参考文献2

二级参考文献31

  • 1姬孟洛,王怀民,李梦君,董威,齐治昌.一种基于抽象解释和通用单调数据流框架的值范围分析方法[J].计算机研究与发展,2006,43(11):2020-2026. 被引量:10
  • 2Harrison W H. Compiler analysis of the value ranges for variables. IEEE Transactions on Software Engineering, 1977, 3(3): 243 -250.
  • 3Simon A. Value-Range Analysis of C Programs: Towards Proving the Absence of Buffer Overflow Vulnerabilities. Berlin: Springer, 2008.
  • 4Cousot P, Cousot R. Abstract interpretation: A unified lattice model for static analysis of programs by construction or approximation of fixpoints//Proceedings of the 4th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL'77). Los Angeles, California, USA, 1977:238-252.
  • 5Cousot P, Cousot R. Static determination of dynamic properties of programs//Proceedings of the 2nd International Symposium on Programming, Paris, France, 1976:106-130.
  • 6Blanchet B, Cousot P, Cousot R, Feret J, Mauborgne L, Mine A, Monniaux D, Rival X. A static analyzer for large safety-critical software//Proceedings of the ACM SIGPLAN 2003 Conference on Programming Language Design and Implementation (PLDI' 03). San Diego, California, USA, 2003:196-207.
  • 7Cousot P, Halbwachs N. Automatic discovery of linear restraints among variables of a program//Proceedings of the 5th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL' 78). Tucson, Arizona, USA, 1978:84- 97.
  • 8Mine A. The octagon abstract domain. Higher-Order and Symbolic Computation, 2006, 19(1): 31-100.
  • 9Mine A. Symbolic methods to enhance the precision of numerical abstract domains//Proceedings of the 7th International Conference on Verification, Model Checking, and Abstract Interpretation (VMCAI ' 06). Charleston, South Carolina, USA, 2006:348-363.
  • 10Chen L, Mine A, Cousot P. A sound floating-point polyhedra abstract domain//Proceedings of the 6th Asian Symposium on Programming Languages and Systems (APLAS' 08). Bangalore, India, 2008: 3-18.

共引文献11

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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