Loading...
Please wait, while we are loading the content...
Program Understanding and Debugging ∗
| Content Provider | CiteSeerX |
|---|---|
| Author | Polishchuk, Marina |
| Abstract | C 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. |
| File Format | |
| Access Restriction | Open |
| Subject Keyword | Defined Program Type Heap Snapshot Type Enforcement Conservative Garbage Collection Heap Corruption Untypable Block Physical Subtyping Program-defined Type Type Safety Violation Low-level Access Medium-sized Program Symbolic Debug Information Allocated Storage Location Heap Block Gnu Debugger Approach Build Program Type |
| Content Type | Text |