arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv cs/0309037cs.SE
收藏

事后对象类型标识

Postmortem Object Type Identification

Bryan M. Cantrill

摘要:

本文提出了一种从内存转储中自动识别任意内存对象类型的新技术。我们的激励应用程序是调试优化的生产系统中的内存损坏问题--这是一个现存方法基本上没有服务的问题领域。我们描述我们的算法适用于任何类型的语言,我们讨论它的C语言所造成的巨大障碍。我们描述了我们已经开发出克服这些困难,并实现有效的基于C的系统的类型识别。我们进一步描述了在一个基于C的系统-Solaris操作系统内核-上实现我们的调试器,并描述了我们添加到Solaris事后调试器中以允许事后类型识别的扩展。我们表明,我们的实现产生了足够高的类型识别率是有用的调试内存损坏问题。最后,我们讨论了一些新的自动调试机制,可以分层后,验尸类型识别。

英文摘要:

This paper presents a novel technique for the automatic type identification of arbitrary memory objects from a memory dump. Our motivating application is debugging memory corruption problems in optimized, production systems -- a problem domain largely unserved by extant methodologies. We describe our algorithm as applicable to any typed language, and we discuss it with respect to the formidable obstacles posed by C. We describe the heuristics that we have developed to overcome these difficulties and achieve effective type identification on C-based systems. We further describe the implementation of our heuristics on one C-based system -- the Solaris operating system kernel -- and describe the extensions that we have added to the Solaris postmortem debugger to allow for postmortem type identification. We show that our implementation yields a sufficiently high rate of type identification to be useful for debugging memory corruption problems. Finally, we discuss some of the novel automated debugging mechanisms that can be layered upon postmortem type identification.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑