首页> 外文会议>Compiler Construction >Run-Time Type Checking for Binary Programs
【24h】

Run-Time Type Checking for Binary Programs

机译:二进制程序的运行时类型检查

获取原文

摘要

Many important software systems are written in the C programming language. Unfortunately, the C language does not provide strong safety guarantees, and many common programming mistakes introduce type errors that are not caught by the compiler. These errors only manifest themselves at run time through unexpected program behavior, and it is often hard to isolate and identify their causes. This paper presents the Hobbes run-time type checker for compiled C programs. Our tool interprets compiled binaries, tracks type information for all memory and register locations, and reports warnings when a variety of type errors occur. Because the Hobbes type checker does not rely on source code, it is effective in many situations where similar tools are not, such as when full source code is not available or when C source is linked with program fragments written in assembly or other languages.
机译:许多重要的软件系统都是用C编程语言编写的。不幸的是,C语言不能提供强大的安全保证,许多常见的编程错误会引入编译器无法捕获的类型错误。这些错误仅在运行时通过意外的程序行为表现出来,并且通常很难隔离和确定其原因。本文介绍了用于编译的C程序的Hobbes运行时类型检查器。我们的工具解释编译的二进制文件,跟踪所有内存和寄存器位置的类型信息,并在发生各种类型错误时报告警告。因为Hobbes类型检查器不依赖源代码,所以它在许多没有相似工具的情况下都很有效,例如,当没有完整的源代码或C源代码与用汇编语言或其他语言编写的程序片段链接时。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号