首页> 外文会议>International conference on verification, model checking, and abstract interpretation >Proving Memory Safety of the ANI Windows Image Parser Using Compositional Exhaustive Testing
【24h】

Proving Memory Safety of the ANI Windows Image Parser Using Compositional Exhaustive Testing

机译:使用成分穷举测试证明ANI Windows图像解析器的内存安全

获取原文

摘要

We report in this paper how we proved memory safety of a complex Windows image parser written in low-level C in only three months of work and using only three core techniques, namely (1) symbolic execution at the x86 binary level, (2) exhaustive program path enumeration and testing, and (3) user-guided program decomposition and summarization. We also used a new tool, named MicroX, for executing code fragments in isolation using a custom virtual machine designed for testing purposes. As a result of this work, we are able to prove, for the first time, that a Windows image parser is memory safe, i.e., free of any buffer-overflow security vulnerabilities, modulo the soundness of our tools and several additional assumptions regarding bounding input-dependent loops, fixing a few buffer-overflow bugs, and excluding some code parts that are not memory safe by design. In the process, we also discovered and fixed several limitations in our tools, and narrowed the gap between systematic testing and verification.
机译:我们在本文中报告了如何在仅三个月的工作中并且仅使用三种核心技术证明使用低级C语言编写的复杂Windows图像解析器的内存安全性,即(1)在x86二进制级别的符号执行,(2)详尽的程序路径枚举和测试,以及(3)用户指导的程序分解和总结。我们还使用了一个名为MicroX的新工具,该工具使用设计用于测试目的的自定义虚拟机隔离执行代码片段。这项工作的结果是,我们能够首次证明Windows图像解析器是内存安全的,即没有任何缓冲区溢出安全漏洞,对我们工具的可靠性以及有关边界的一些其他假设进行取模。依赖于输入的循环,修复了一些缓冲区溢出错误,并排除了某些在设计上不是内存安全的代码部分。在此过程中,我们还发现并修复了工具中的一些限制,并缩小了系统测试与验证之间的差距。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号