International Journal of Networked and Distributed Computing (IJNDC) (Jan 2015)

The Influence of Alias and References Escape on Java Program Analysis

  • Shengbo Chen,
  • Dashen Sun,
  • Huaikou Miao

DOI
https://doi.org/10.2991/ijndc.2015.3.1.2
Journal volume & issue
Vol. 3, no. 1

Abstract

Read online

The alias and references escape are often used in Java programs. They bring much convenience to the developers, but, at the same time, they also give adverse affects on the data flow and control flow of program during program analysis. Therefore, when analyzing Java programs, we must take the alias and references escape into account. This paper proposes a static approach to detecting control flow information of programs with alias and references escape. Firstly, it computes the data flow information, including def-use information and alias information caused by references assign and references escape. Secondly, it analyzes the program and gets the control flow information based on the obtained data flow information. Finally, a case study is presented to show that the proposed method can detect control flow information exactly.

Keywords