A Static Bug Detector for Uninitialized Field References in Java Programs(Software Engineering)
スポンサーリンク
概要
- 論文の詳細を見る
Correctness of Java programs is important because they are executed in distributed computing environments. The object initialization scheme in the Java programming language is complicated, and this complexity may lead to undesirable semantic bugs. Various tools have been developed for detecting program patterns that might cause errors during program execution. However, current tools cannot identify code patterns in which an uninitialized field is accessed when an object is initialized. We refer to such erroneous patterns as uninitialized field references. In this paper, we propose a static pattern detection algorithm for identifying uninitialized field references. We design a sound analysis for this problem and implement an analyzer using the Soot framework. In addition, we apply our algorithm to some real Java applications. From the experiments, we identify 12 suspicious field references in the applications, and among those we find two suspected errors by manual inspection.
- 社団法人電子情報通信学会の論文
- 2007-10-01
著者
-
HAN Taisook
Division of Computer Science
-
Kang Hyun-goo
Division Of Computer Science Korea Advanced Institute Of Science And Technology
-
Han Taisook
Kaist Daejeon Kor
-
Seo Sunae
Division Of Computer Science Korea Advanced Institute Of Science And Technology
-
KIM Youil
Division of Computer Science, Korea Advanced Institute of Science and Technology
-
Kim Youil
Division Of Computer Science Korea Advanced Institute Of Science And Technology
関連論文
- Over-Approximated Control Flow Graph Construction on Pure Esterel
- A Static Bug Detector for Uninitialized Field References in Java Programs(Software Engineering)
- Detecting Theft of Java Applications via a Static Birthmark Based on Weighted Stack Patterns