节点文献

基于控制流切片的代码安全缺陷检测方法

Method to detect vulnerary based on control flow slices

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 周宽久杨广赖晓晨崔凯姚艳双

【Author】 ZHOU Kuan-jiu,YANG Guang,LAI Xiao-chen,CUI Kai,YAO Yan-shuang(Software School,Dalian University of Technology,Dalian 116620,China)

【机构】 大连理工大学软件学院

【摘要】 为轻松获得程序的可能执行路径,进而实现程序变量的状态跟踪,提出了一种C/C++源代码控制流提取算法,通过该模型获取控制流切片,产生局部控制流图,将数据流异常检测与安全子集检测相结合,弥补了单独使用安全子集方法无法跟踪数据流的不足,增强代码安全隐患的挖掘能力。利用控制流图化简,排除部分不可达控制流信息,提高跟踪效率。通过对3个Linux内核源文件的检测,验证了该方法不仅可以检测出违反安全子集的代码安全隐患,同时对代码数据流异常检测提供支持,准确率达94.9%。

【Abstract】 To acquire the execution paths from the C/C++ source codes to track program variables and to mine capabilities of code security risks,a control flow Abstraction algorithm of C/C++ source code is proposed to feasibly obtain control flow slices and generate local control flow graph.The data flow anomaly detection and the security subset detection is combined with this model,and the data flow analysis is extended to process and modules to lay the foundation for inter-procedural exception analysis.A simplification method for control flow is used to exclude un–reached control flow information and reduce the number of data flow tracking paths so as to improve the tracking efficiency.Finally,some experimental results show that the model can not only detect violations of safe subset,but also implement data flow anomaly detection.Its accuracy rate is more than 90%.

【基金】 国家自然科学基金项目(91018003);中央高校基本科研业务费专项基金项目(1600-852007、1600-893321)
  • 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2012年06期
  • 【分类号】TP311.53
  • 【被引频次】1
  • 【下载频次】150
节点文献中: 

本文链接的文献网络图示:

本文的引文网络