Field-Sensitive Value Analysis by Field-Insensitive Analysis

  • Authors:
  • Elvira Albert;Puri Arenas;Samir Genaim;Germán Puebla

  • Affiliations:
  • DSIC, Complutense University of Madrid (UCM), Spain;DSIC, Complutense University of Madrid (UCM), Spain;DSIC, Complutense University of Madrid (UCM), Spain;CLIP, DLSIIS, Technical University of Madrid (UPM), Spain

  • Venue:
  • FM '09 Proceedings of the 2nd World Congress on Formal Methods
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

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.