Field-sensitive value analysis by field-insensitive analysis

Elvira Albert, Puri Arenas, Samir Genaim, Germán Puebla

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

11 Scopus citations

Abstract

Shared and mutable data-structures pose major problems in static analysis and most analyzers are unable to keep track of the values of numeric variables stored in the heap. In this paper, we first identify sufficient conditions under which heap allocated numeric variables in object oriented programs (i.e., numeric fields) can be handled as non-heap allocated variables. Then, we present a static analysis to infer which numeric fields satisfy these conditions at the level of (sequential) bytecode. This allows instrumenting the code with ghost variables which make such numeric fields observable to any field-insensitive value analysis. Our experimental results in termination analysis show that we greatly enlarge the class of analyzable programs with a reasonable overhead.

Original languageEnglish
Title of host publicationFM 2009
Subtitle of host publicationFormal Methods - Second World Congress, Proceedings
Pages370-386
Number of pages17
DOIs
StatePublished - 2 Dec 2009
Externally publishedYes
Event2nd World Congress on Formal Methods, FM 2009 - Eindhoven, Netherlands
Duration: 2 Nov 20096 Nov 2009

Publication series

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

Conference

Conference2nd World Congress on Formal Methods, FM 2009
Country/TerritoryNetherlands
CityEindhoven
Period2/11/096/11/09

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Field-sensitive value analysis by field-insensitive analysis'. Together they form a unique fingerprint.

Cite this