首页> 外文会议>5th ACM symposium on information, computer and communications security 2009 >PAriCheck: An Efficient Pointer Arithmetic Checker for C Programs
【24h】

PAriCheck: An Efficient Pointer Arithmetic Checker for C Programs

机译:PAriCheck:针对C程序的高效指针算术检查器

获取原文
获取原文并翻译 | 示例

摘要

Buffer overflows are still a significant problem in programs written in C and C++. In this paper we present a bounds checker, called PAriCheck, that inserts dynamic runtime checks to ensure that attackers are not able to abuse buffer overflow vulnerabilities. The main approach is based on checking pointer arithmetic rather than pointer dereferences when performing bounds checks. The checks are performed by assigning a unique label to each object and ensuring that the label is associated with each memory location that the object inhabits. Whenever pointer arithmetic occurs, the label of the base location is compared to the label of the resulting arithmetic. If the labels differ, an out-of-bounds calculation has occurred. Benchmarks show that PAriCheck has a very low performance overhead compared to similar bounds checkers. This paper demonstrates that using bounds checkers for programs or parts of programs running on high-security production systems is a realistic possibility.
机译:在用C和C ++编写的程序中,缓冲区溢出仍然是一个严重的问题。在本文中,我们提供了一个称为PAriCheck的边界检查器,该边界检查器会插入动态运行时检查,以确保攻击者无法滥用缓冲区溢出漏洞。主要方法基于检查指针算术,而不是执行边界检查时的指针取消引用。通过为每个对象分配一个唯一的标签并确保该标签与该对象所在的每个内存位置相关联来执行检查。每当发生指针算术时,都会将基本位置的标签与所得算术的标签进行比较。如果标签不同,则发生越界计算。基准测试表明,与类似的边界检查器相比,PAriCheck的性能开销非常低。本文证明,对于在高安全性生产系统上运行的程序或程序的一部分使用边界检查器是一种现实的可能性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号