Region-Based Shape Analysis with Tracked Locations
dc.contributor.author | Hackett, Brian | en_US |
dc.contributor.author | Rugina, Radu | en_US |
dc.date.accessioned | 2007-04-04T19:37:54Z | |
dc.date.available | 2007-04-04T19:37:54Z | |
dc.date.issued | 2004-10-29 | en_US |
dc.description.abstract | This paper proposes a novel approach to shape analysis: using local reasoning about individual heap locations instead of global reasoning about entire heap abstractions. We present an inter-procedural shape analysis algorithm for languages with destructive updates and formulate it as a dataflow analysis. The key feature is a novel memory abstraction that differs from traditional abstractions in two ways. First, we build the shape abstraction and analysis on top of a pointer analysis. Second, we decompose the shape abstraction into a set of independent configurations, each of which characterizes one single heap location. Our approach: 1) leads to simpler algorithm specifications, because of local reasoning about the single location; 2) leads to efficient algorithms, because of the abstraction decomposition; and 3) makes it easier to develop context-sensitive, demand-driven, and incremental shape analyses. We have developed simple extensions that use the analysis results to find memory errors in programs with explicit deallocation, including memory leaks and accesses through dangling pointers. We have built a prototype system that implements the ideas in this paper and is designed to analyze C programs. Our experimental results support the intuition that local reasoning leads to more scalable analyses. | en_US |
dc.format.extent | 264059 bytes | |
dc.format.mimetype | application/pdf | |
dc.identifier.citation | http://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cis/TR2004-1968 | en_US |
dc.identifier.uri | https://hdl.handle.net/1813/5668 | |
dc.language.iso | en_US | en_US |
dc.publisher | Cornell University | en_US |
dc.subject | computer science | en_US |
dc.subject | technical report | en_US |
dc.title | Region-Based Shape Analysis with Tracked Locations | en_US |
dc.type | technical report | en_US |
Files
Original bundle
1 - 1 of 1