WhatsAt: Dynamic Heap Type Inference for Program Understanding and Debugging

dc.contributor.authorPolishchuk, Marinaen_US
dc.contributor.authorLiblit, Benen_US
dc.contributor.authorSchulze, Chloe W.en_US
dc.date.accessioned2012-03-15T17:21:19Z
dc.date.available2012-03-15T17:21:19Z
dc.date.created2006en_US
dc.date.issued2006
dc.description.abstractC programs can be difficult to debug due to lax type enforcement and low-level access to memory. We present a dynamic analysis for C that checks heap snapshots for consistency with program types. Our approach builds on ideas from physical subtyping and conservative garbage collection. We infer a program-defined type for each allocated storage location or identify ?untypable? blocks that reveal heap corruption or type safety violations. The analysis exploits symbolic debug information if present, but requires no annotation or recompilation beyond a list of defined program types and allocated heap blocks. We have integrated our analysis into the GNU Debugger (gdb), and describe our initial experience using this tool with several small to medium-sized programs.en_US
dc.format.mimetypeapplication/pdfen_US
dc.identifier.citationTR1583en_US
dc.identifier.urihttp://digital.library.wisc.edu/1793/60540
dc.publisherUniversity of Wisconsin-Madison Department of Computer Sciencesen_US
dc.titleWhatsAt: Dynamic Heap Type Inference for Program Understanding and Debuggingen_US
dc.typeTechnical Reporten_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TR1583.pdf
Size:
342.12 KB
Format:
Adobe Portable Document Format