首页 | 本学科首页   官方微博 | 高级检索  
     

一种针对格式文件的符号执行优化方法
引用本文:汪孙律,杨秋松,李明树.一种针对格式文件的符号执行优化方法[J].电子学报,2000,48(12):2417-2424.
作者姓名:汪孙律  杨秋松  李明树
作者单位:1. 中国科学院软件研究所基础软件国家工程研究中心, 北京 100190; 2. 中国科学院大学计算机科学与技术学院, 北京 101408
摘    要:为了解决符号执行中路径爆炸、新路径发现率低等问题,提出了针对文件格式数据块约束的符号执行分析方法(FFCBSE,File Format Constraint Based Symbolic Execution)优化框架.文件格式信息的缺失会影响符号执行的效率以及测试用例生成,该方法通过分析程序代码自动分析程序读取的格式文件数据块之间的依赖关系并建立相关约束,随后使用这些约束引导符号执行更关注于核心功能代码区域.在KLEE中实现了上述优化框架,并对Tcpdump、Readelf、Elfdump、File、Zlib等7个常用文件处理程序做了检测.和KLEE以及DASE相比,FFCBSE发现了13个之前未知的缺陷,在指令覆盖率和分支覆盖率有10%~225%不同程度的提升.

关 键 词:符号执行  文件格式  路径爆炸  缺陷查找  
收稿时间:2019-09-04

A Symbolic Execution Optimization Method Based on File Format Constraint
WANG Sun-l&#,YANG Qiu-song,LI Ming-shu.A Symbolic Execution Optimization Method Based on File Format Constraint[J].Acta Electronica Sinica,2000,48(12):2417-2424.
Authors:WANG Sun-l&#  YANG Qiu-song  LI Ming-shu
Affiliation:1. NFS, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China; 2. School of Computer Science and Technology, University of Chinese Academy of Sciences, Beijing 101408, China
Abstract:To solve problems like path explosion,low rate of new path's finding in the software testing,a new vulnerability discovering architecture based on file format constraint (FFCBSE) was proposed.FFCBSE analyzed program source code to extract file structure constraints automatically.FFCBSE then used these structure constraints to guide symbolic execution to focus on core functions.This architecture was implemented in KLEE,and it was evaluated on seven file processing applications,such as Tcpdump,Readelf,File,Zlib.Compare with KLEE and DASE,FFCBSE detects thirteen previously unknown bugs.In addition,FFCBSE increases instruction line coverage/branch coverage by 10%~ 225%.
Keywords:symbolic execution  file format constraint  path explosion  bug finding  
点击此处可从《电子学报》浏览原始摘要信息
点击此处可从《电子学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号