...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >EffectiveSan: Type and Memory Error Detection using Dynamically Typed C/C++?
【24h】

EffectiveSan: Type and Memory Error Detection using Dynamically Typed C/C++?

机译:效果:使用动态键入的C / C ++类型和内存错误检测?

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

获取外文期刊封面封底 >>

       

摘要

Low-level programming languages with weak/static type systems, such as C and C++, are vulnerable to errors relating to the misuse of memory at runtime, such as (sub- )object bounds overflows, (re)use-after-free, and type confusion. Such errors account for many security and other undefined behavior bugs for programs written in these languages. In this paper, we introduce the notion of dynamically typed C/C++, which aims to detect such errors by dynamically checking the “effective type” of each object before use at runtime. We also present an implementation of dynamically typed C/C++ in the form of the Effective Type Sanitizer (EffectiveSan). EffectiveSan enforces type and memory safety using a combination of low-fat pointers, type meta data and type/bounds check instrumentation. We evaluate Effective- San against the SPEC2006 benchmark suite and the Firefox web browser, and detect several newtype and memory errors. We also show that EffectiveSan achieves high compatibility and reasonable overheads for the given error coverage. Finally, we highlight that EffectiveSan is one of only a few tools that can detect sub-object bounds errors, and uses a novel approach (dynamic type checking) to do so.
机译:具有弱/静态类型系统(如C和C ++)的低级编程语言,易受与运行时滥用内存滥用有关的错误,例如(子)对象界限溢出,(重新)使用余额,和型混乱。此类错误占这些语言编写的程序的许多安全性和其他未定义的行为错误。在本文中,我们介绍了动态键入的C / C ++的概念,该概念旨在通过在运行时在使用之前动态检查每个对象的“有效类型”来检测此类错误。我们还以有效型清真机(效果)的形式呈现动态类型的C / C ++的实现。效果使用低脂肪指针的组合强制执行类型和内存安全性,键入元数据和类型/边界检查仪器。我们评估Fign2006基准套件和Firefox Web浏览器的有效SAN,并检测多个Newtype和内存错误。我们还表明,对于给定的错误覆盖,效果达到了高兼容性和合理的开销。最后,我们突出显示效果,只有可以检测子对象界限错误的几个工具之一,并使用新的方法(动态类型检查)来执行此操作。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号