首页> 外文期刊>Advances in software engineering >Tag-Protector: An Effective and Dynamic Detection of Illegal Memory Accesses through Compile Time Code Instrumentation
【24h】

Tag-Protector: An Effective and Dynamic Detection of Illegal Memory Accesses through Compile Time Code Instrumentation

机译:标签保护器:通过编译时代码检测对非法内存访问进行有效和动态的检测

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

摘要

Programming languages permitting immediate memory accesses through pointers often result in applications having memory-related errors, which may lead to unpredictable failures and security vulnerabilities. A lightweight solution is presented in this paper to tackle such illegal memory accesses dynamically in C/C++ based applications. We propose a new and effective method of instrumenting an application's source code at compile time in order to detect illegal spatial and temporal memory accesses. It is based on creating tags to be coupled with each memory allocation and then placing additional tag checking instructions for each access made to the memory. The proposed solution is evaluated by instrumenting applications from the BugBench benchmark suite and publicly available benchmark software, run-time intrusion prevention evaluator (RIPE), detecting all the bugs successfully. The performance and memory overheads are further analyzed by instrumenting and executing real-world applications from various renowned benchmark suites. In addition, the proposed solution is also tested to analyze the performance overhead for multithreaded applications in multicore environments. Overall our technique can detect a wide range of memory bugs and attacks with reduced performance overhead and higher detection rate as compared to the similar existing countermeasures when tested under the same experimental setup.
机译:允许通过指针立即进行内存访问的编程语言通常会导致应用程序出现与内存相关的错误,这可能会导致无法预测的故障和安全漏洞。本文提出了一种轻量级的解决方案,以在基于C / C ++的应用程序中动态解决此类非法内存访问。我们提出了一种在编译时检测应用程序源代码的新有效方法,以检测非法的空间和时间内存访问。它基于创建与每个内存分配结合的标签,然后为每次对内存的访问放置其他标签检查指令。通过对BugBench基准测试套件中的应用程序进行检测,并通过公开可用的基准测试软件,运行时入侵防御评估程序(RIPE)来评估提议的解决方案,从而成功检测到所有错误。通过检测和执行来自各种著名基准套件的实际应用程序,可以进一步分析性能和内存开销。此外,还对所提出的解决方案进行了测试,以分析多核环境中多线程应用程序的性能开销。总体而言,与在相同实验设置下进行测试的类似现有对策相比,我们的技术可以检测到范围广泛的内存错误和攻击,并具有降低的性能开销和更高的检测率。

著录项

  • 来源
    《Advances in software engineering》 |2016年第2016期|9842936.1-9842936.19|共19页
  • 作者单位

    Glasgow Caledonian University, Glasgow G4 OBA, UK;

    Department of Computer Science, California State University San Marcos, San Marcos, CA 92069, USA;

    School of Mathematical and Computer Sciences, Heriot-Watt University, Edinburgh EH14 4AS, UK;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号