期刊文献+

一种面向源代码的整数溢出缺陷静态检测方法

A source code oriented static detection method for integer overflow defects
下载PDF
导出
摘要 受限于不完备的函数调用图分析和路径可达性分析,当前静态整数溢出检测工具存在较为严重的误报情况.为解决这一问题,以源代码中外部输入可控的整数溢出缺陷的自动挖掘为目标,给出一种综合调用图分析、静态污点分析和静态符号执行的检测方法.提出一种域敏感的流敏感指针分析方法构建目标程序调用图的"高估计",应用静态污点-sink传播分析确定潜在的外部输入可控的整数溢出缺陷程序点,最后应用静态符号执行技术通过判定缺陷约束的可满足性对误报情况进行约减.实验验证了方法在实际整数溢出缺陷检测和误报情况约减方面的应用有效性. Limited by incomplete call graph analysis and path feasibility analysis ,current static integer overflow defect detection methods generally return results with high false positives . To reduce this inefficiency ,aiming at automatic exploration of the external input triggering integer overflow defects ,a new source code oriented detection method was proposed combining call graph analysis , static taint analysis and static symbolic execution ,in which a field‐sensitive and flow‐sensitive pointer analysis method was proposed for constructing an over‐approximation of the target program’s real call graph ,with a static taint‐sink propagation analysis carried out for calculating the potential external input reachable integer overflow defects , on which flow‐sensitive static symbolic execution is conducted to reduce the false positives introduced by the detection system through justifying the satisfiability of the corresponding defect constraint . Experiments prove the effectiveness of the methodin real‐world integer overflow defect detection and false alarm reduction .
出处 《中国科学技术大学学报》 CAS CSCD 北大核心 2015年第7期601-607,共7页 JUSTC
关键词 整数溢出 域敏感流敏感指针分析 污点分析 静态符号执行 integer overflow field-sensitive flow-sensitive pointer analysis taint analysis static symbolic execution
  • 相关文献

参考文献10

  • 1Dietz W, Li P, Regehr J, et al. Understanding integeroverflow in C/C + + [C]// Proceedings of the 34thInternational Conference on Software Engineering.Zurich, Switzerland: IEEE Press, 2012: 760-770.
  • 2张实睿,许蕾,徐宝文.一种防止缓冲区溢出的整数溢出检测方法(英文)[J].Journal of Southeast University(English Edition),2009,25(2):219-223. 被引量:3
  • 3Ix>tig S B, F, Sidiroglou-Douskos S,Kim D, et al.Sound input filter generation for integer overflow errorssound input filter generation for integer overflow errors[J]. ACM SIGPLAN Notice, 2014, 49(1): 439-452.
  • 4Pomonis M, Petsios T, Jee K, et al. IntFlow:Improving the accuracy of arithmetic error detectionusing information flow tracking [C]// Proceedings ofthe 30 th Annual Computer Security ApplicationsConference* New Orleans USA: ACM Press,2014:416-425.
  • 5Moy Y,Bjorner N, Sielaff D. Modular bug-finding forinteger overflows in the large sound, efficient, bit-precise static analysis[R]. Technical Report, MSR-TR-2009-57,2009.
  • 6Brumley D, Chiueh T, Johnson R. RICH:Automatically protecting against integer-basedvulnerabilities [ EB/OL ]. http : //www. cs. berkeley.edu/?dawnsong/papers/efficient _ detection _ integer-based attacks. pdf.
  • 7Ashcraft K,Engler D. Using programmer-writtencompiler extensions to catch security holes [C]//Proceedings of IEEE Symposium on Security andPrivacy. San Jose, USA: ACM Press, 2002: 143-159.
  • 8Wang T L, Wei T,Lin Z Q, et al IntScope:Automatically Detecting integer overflow vulnerabilityin X86 binary using symbolic execution 匸 C]//Proceedings of the 16th Network and DistributedSystem Security Symposium. San Diego,USA: IEEEPress, 2009: 1-14.
  • 9Lattner C, Adve V. LLVM: A compilation frameworkfor lifelong program analysis transformation[C]//Proceedings of the International Symposium on CodeGeneration and Optimization. Palo Alto,USA: IEEEPress, 2004: 75-86.
  • 10Muchnick S a 髙级编译器设计与实现[M].赵克佳,沈志宇,译.北京:机械工业出版社,2005.

共引文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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