Back to results

UNSW, Sydney

Static analysis for incomplete object-oriented programs

Abstract

dc:description

Static analysis is significant since it provides the information about the run- time behaviour of an analysed program. Such information has many applications in compiler optimisations and software engineering tools. Interprocedural anal- ysis is a form of static analysis, which can exploit information available across procedure boundaries. The analysis is traditionally designed as whole-program analysis, which processes the entire program. However, whole-program analysis is problematic when parts of the analysed program are not available to partici- pate in analysis. In this case, a whole-program analysis has to make conservative assumptions to be able to produce safe analysis results at the expense of some possible precision loss. To improve analysis precision, an analysis can exploit the access control mechanism provided by the underlying program language. This thesis introduces a points-to analysis technique for incomplete object-oriented programs, called com- pleteness analysis, which exploits the access and modification properties of classes, methods and fields to enhance the analysis precision. Two variations of the tech- nique, compositional and sequential completeness analysis, are described. This thesis also presents a mutability analysis (MA) and MA-based side-effect analy- sis, which are based on the output of completeness analysis, to determine whether a variable is potentially modified by the execution of a program statement. The results of experiments carried out on a set of Java library packages are presented to demonstrate the improvement in analysis precision.

Degree

thesis:*
Grantor dc:publisher
UNSW, Sydney
Year dc:date
2005

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Nguyen, Phung Hua

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • open access
  • CC BY-NC-ND 3.0
  • free_to_read
Language dc:language
EN

Identifiers

dc:identifier.*
OAI identifier oai:identifier
oai:unsworks.library.unsw.edu.au:1959.4/24228

Chain of custody

source
Harvested from
University of New South Wales
Base URL
unsworks.unsw.edu.au/oai/provider
Last updated
2026-07-24
Source record
OAI-PMH GetRecord
citation

Nguyen, Phung Hua. Static analysis for incomplete object-oriented programs. UNSW, Sydney, 2005. http://hdl.handle.net/1959.4/24228