【24h】

Static detection of dynamic memory errors

机译:静态检测动态内存错误

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

摘要

Many important classes of bugs result from invalid assumptions about the results of functions and the values of parameters and global variables. Using traditional methods, these bugs cannot be detected efficiently at compile-time, since detailed cross-procedural analyses would be required to determine the relevant assumptions. In this work, we introduce annotations to make certain assumptions explicit at interface points. An efficient static checking tool that exploits these annotations can detect a broad class of errors including misuses of null pointers, uses of dead storage, memory leaks, and dangerous aliasing. This technique has been used successfully to fix memory management problems in a large program.
机译:错误的许多重要类别来自对函数结果以及参数和全局变量的值的无效假设。使用传统方法,由于在确定相关假设时需要进行详细的跨过程分析,因此无法在编译时有效地检测到这些错误。在这项工作中,我们引入了注释,以使某些假设在界面点处明确。利用这些注释的有效的静态检查工具可以检测到广泛的错误,包括对空指针的滥用,死存储的使用,内存泄漏和危险的别名。此技术已成功用于解决大型程序中的内存管理问题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号