Soundly Handling Static Fields: Issues, Semantics and Analysis - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Article Dans Une Revue Electronic Notes in Theoretical Computer Science Année : 2009

Soundly Handling Static Fields: Issues, Semantics and Analysis

Résumé

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.
Fichier principal
Vignette du fichier
bytecode09.pdf (239.31 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

inria-00504028 , version 1 (19-07-2010)
inria-00504028 , version 2 (20-07-2010)

Identifiants

Citer

Laurent Hubert, David Pichardie. Soundly Handling Static Fields: Issues, Semantics and Analysis. Electronic Notes in Theoretical Computer Science, 2009, Proceedings of the Fourth Workshop on Bytecode Semantics, Verification, Analysis and Transformation (BYTECODE 2009), 253 (5), pp.15 - 30. ⟨10.1016/j.entcs.2009.11.012⟩. ⟨inria-00504028v2⟩
251 Consultations
204 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More