English

Soundly Handling Static Fields: Issues, Semantics and Analysis

Programming Languages 2010-07-21 v2

Abstract

Although in most cases class initialization works as expected, some static fields may be read before being initialized, despite being initialized in their corresponding class initializer. We propose an analysis which compute, for each program point, the set of static fields that must have been initialized and discuss its soundness. We show that such an analysis can be directly applied to identify the static fields that may be read before being initialized and to improve the precision while preserving the soundness of a null-pointer analysis.

Cite

@article{arxiv.1007.3249,
  title  = {Soundly Handling Static Fields: Issues, Semantics and Analysis},
  author = {Laurent Hubert and David Pichardie},
  journal= {arXiv preprint arXiv:1007.3249},
  year   = {2010}
}

Comments

Proceedings of the Fourth Workshop on Bytecode Semantics, Verification, Analysis and Transformation (BYTECODE 2009)

R2 v1 2026-06-21T15:50:02.361Z