From object fields to local variables: A practical approach to field-sensitive analysis

  • Elvira Albert
  • , Puri Arenas
  • , Samir Genaim
  • , German Puebla
  • , Diana Vanessa Ramírez Deantes

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

11 Scopus citations

Abstract

Static analysis which takes into account the value of data stored in the heap is typically considered complex and computationally intractable in practice. Thus, most static analyzers do not keep track of object fields (or fields for short), i.e., they are field-insensitive. In this paper, we propose locality conditions for soundly converting fields into local variables. This way, field-insensitive analysis over the transformed program can infer information on the original fields. Our notion of locality is context-sensitive and can be applied both to numeric and reference fields. We propose then a polyvariant transformation which actually converts object fields meeting the locality condition into variables and which is able to generate multiple versions of code when this leads to increasing the amount of fields which satisfy the locality conditions. We have implemented our analysis within a termination analyzer for Java bytecode.

Original languageEnglish
Title of host publicationStatic Analysis - 17th International Symposium, SAS 2010, Proceedings
Pages100-116
Number of pages17
DOIs
StatePublished - 12 Nov 2010
Externally publishedYes
Event17th International Static Analysis Symposium, SAS 2010 - Perpignan, France
Duration: 14 Sep 201016 Sep 2010

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume6337 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference17th International Static Analysis Symposium, SAS 2010
Country/TerritoryFrance
CityPerpignan
Period14/09/1016/09/10

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'From object fields to local variables: A practical approach to field-sensitive analysis'. Together they form a unique fingerprint.

Cite this