HackerPapers

arXiv:cs/0309037cs.SE

Postmortem Object Type Identification

Bryan M. Cantrill

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

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.

arXiv comments
In M. Ronsse, K. De Bosschere (eds), proceedings of the Fifth International Workshop on Automated Debugging (AADEBUG 2003), September 2003, Ghent. cs.SE/0309027
Journal reference
DOI
Subjects
cs.SESoftware Engineering

On Hacker News

Linked by 1 identifiable commenter in 2 comments across 2 threads, from Jun 2015 to Oct 2015.

Comments linking this paper, per year.

Discussed in comments2 threads

    • This paper brings back many great memories -- it's one of those that I can remember the cafe I was in when I first read it -- and Ryan has done an excellent job capturing its importance and influence. Speaking personally, the influence Bonwick's work had is substantial: it was…

      bcantrillView on HNParent context

    • That's terrific, and apologies if you feel I've slighted Rust at all. (I admire Rust's goals to deliver safety without compromising performance or debuggability.) From a native perspective, two things I would love to see with respect to Rust: first, a comment on Alex Light's…

      bcantrillView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.