...
首页> 外文期刊>Computer Languages, Systems & Structures >Lightweight runtime checking of C programs with RTC
【24h】

Lightweight runtime checking of C programs with RTC

机译:使用RTC对C程序进行轻量级运行时检查

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

摘要

The C Programming Language is known for being an efficient language that can be compiled on almost any architecture and operating system. However the absence of dynamic safety checks and a relatively weak type system allows programmer oversights that are hard to spot. In this paper, we present RTC, a runtime monitoring tool that instruments unsafe code and monitors the program execution. RTC is built on top of the ROSE compiler infrastructure. RTC finds memory bugs and arithmetic overflows and underfiows, and run-time type violations. Most of the instrumentations are directly added to the source file and only require a minimal runtime system. As a result, the instrumented code remains portable. In tests against known error detection benchmarks, RTC found 98% of all memory related bugs and had zero false positives. In performance tests conducted with well known algorithms, such as binary search and MD5, we determined that our tool has an average run-time overhead rate of 9.7 x and memory overhead rate of 3.5 x. (C) 2016 Elsevier Ltd. All rights reserved.
机译:C编程语言以其是一种可以在几乎任何体系结构和操作系统上进行编译的高效语言而闻名。但是,由于缺乏动态安全检查和相对较弱的类型系统,因此程序员的疏忽难以发现。在本文中,我们介绍了RTC,这是一种运行时监视工具,用于检测不安全的代码并监视程序执行。 RTC建立在ROSE编译器基础结构之上。 RTC查找内存错误,算术上溢和不足以及运行时类型冲突。大多数工具直接添加到源文件中,只需要最少的运行时系统。结果,所检测的代码保持可移植性。在针对已知错误检测基准的测试中,RTC发现了与内存相关的所有错误中的98%,误报为零。在使用众所周知的算法(例如二进制搜索和MD5)进行的性能测试中,我们确定我们的工具的平均运行时开销率为9.7 x,内存开销率为3.5 x。 (C)2016 Elsevier Ltd.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号