期刊文献+

基于抽象解释的二进制代码变量区间分析 被引量:1

A Method of Binary Code Variable Interval Analysis Based on Abstract Interpretation
下载PDF
导出
摘要 在二进制代码分析中,传统的区间分析方法难以有效获得变量的取值范围。针对二进制代码变量特点,基于抽象解释理论,该文提出字级数据区间和位级数据区间的概念,分别对数值型数据变量和位级数据变量进行抽象表示;将抽象区间用于二进制代码变量运算,构建字级数据区间和位级数据区间的运算方法;引入区间集的概念,确立字级数据区间和位级数据区间的转换关系,提出字级数据区间和位级数据区间的相互转换算法。实验结果表明,该文提出的基于抽象解释的二进制代码变量区间分析方法能够精确高效地确定二进制代码变量的取值范围。 Due to characteristics of binary code,it is difficult to deal with binary code variable through traditional interval analysis.To figure out this problem,a new interval analysis method of binary code variable based on abstract interpretation is proposed in this paper.Based on abstract interpretation,two concepts which are word-level data interval and bit-level data interval are presented.The word-level data interval is the abstract presentation of numerical value variable and the bit-level data interval is the abstract presentation of bit value variable.Operation methods of word-level data interval and bit-level data interval are constructed.The conversion operations between word-level data interval and bit-level data interval are put forward and corresponding algorithms are presented.The theoretical and experimental results show that the binary code variable interval can be calculated effectively and precisely with the proposed method.
出处 《电子与信息学报》 EI CSCD 北大核心 2013年第8期1927-1932,共6页 Journal of Electronics & Information Technology
基金 "核高基"国家科技重大专项(2009ZX01036) 国家863计划项目(2009AA01Z434)资助课题
关键词 二进制代码 代码分析 区间分析 抽象解释 Binary code Code analysis Interval analysis Abstract interpretation
  • 相关文献

参考文献5

二级参考文献51

  • 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.

共引文献50

同被引文献7

  • 1Moore R E.Interval analysis[M].Prentice-Hall,New Jersey,USA,1966.
  • 2Cousot P.Abstract interpretation based formal methods and future challenges[C]//Proceeding Informatics-10 Years Back,10 Years Ahead,London,2001: 138-156.
  • 3Wang Yawen,Gong Yunzhan,Chen Junliang,et al.An application of interval analysis in software static analysis[C].Proceedings of the 2008 IEEE/IFIP International Conference on Embedded and Ubiquito us Computing[C]//NW Washington: IEEE Computer Society,2008(12): 367-372.
  • 4Xing Ying,Gong Yunzhan,Wang Yawen.Path-wise test data generation based on heuristic look-ahead methods[J].Mathematical Problems in Engineering,2014.
  • 5王志言,刘椿年.区间算术在软件测试中的应用[J].软件学报,1998,9(6):438-443. 被引量:19
  • 6王雅文,宫云战,肖庆,杨朝红.基于抽象解释的变量值范围分析及应用[J].电子学报,2011,39(2):296-303. 被引量:16
  • 7邢颖,宫云战,王雅文,张旭舟.基于分支限界搜索框架的测试用例自动生成[J].中国科学:信息科学,2014,44(10):1345-1360. 被引量:4

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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