Heap analysis in the presence of collection libraries

Mark Marron, Darko Stefanovic, Manuel Hermenegildo, Deepak Kapur

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

12 Scopus citations

Abstract

Memory analysis techniques have become sophisticated enough to model, with a high degree of accuracy, the manipulation of simple memory structures (finite structures, single/double linked lists and trees). However, modern programming languages provide extensive library support including a wide range of generic collection objects that make use of complex internal data structures. While these data structures ensure that the collections are efficient, often these representations cannot be effectively modeled by existing methods (either due to excessive analysis runtime or due to the inability to represent the required information). This paper presents a method to represent collections using an abstraction of their semantics. The construction of the abstract semantics for the collection objects is done in a manner that allows individual elements in the collections to be identified. Our construction also supports iterators over the collections and is able to model the position of the iterators with respect to the elements in the collection. By ordering the contents of the collection based on the iterator position, the model can represent a notion of progress when iteratively manipulating the contents of a collection. These features allow strong updates to the individual elements in the collection as well as strong updates over the collections themselves.

Original languageEnglish
Title of host publicationPASTE'07 - Proceedings of the 2007 ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering
Pages31-36
Number of pages6
DOIs
StatePublished - 2007
Event7th ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering - San Diego, CA, United States
Duration: Jun 13 2007Jun 14 2007

Publication series

NameACM SIGPLAN/SIGSOFT Workshop on Program Analysis for Software Tools and Engineering

Conference

Conference7th ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering
Country/TerritoryUnited States
CitySan Diego, CA
Period6/13/076/14/07

Keywords

  • Collection library
  • Shape analysis
  • Static analysis

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Heap analysis in the presence of collection libraries'. Together they form a unique fingerprint.

Cite this