A Dynamic Analysis Mechanism for Object- Oriented Program Based on Reflection Instrumentation

CHAI Xiao-qian,CHEN Ping
DOI: https://doi.org/10.3969/j.issn.1673-629x.2005.05.004
2005-01-01
Abstract:For the complexity of software system, the main works of software development, maintenance and evolution have been focused on the comprehension of existing systems. The goal of reverse engineering is to support program comprehension. By analyzing target system, it generates abstract representations in different form and level and helps users understand target system at different levels and from different perspectives. On the basis of profound analyses of reflection technique, open compiler and instrument technique, a dynamic analysis mechanism for object-oriented program based on reflection instrumentation is provided in this paper for developing an applied dynamic analysis tool. The main idea is that dynamic information is gathered by triggers instrumented and saved to Call-Graph, and then abstracts dynamic model in accord with UML specifications from Call-Graph. The feasibility of the mechanism is verified by the project.
What problem does this paper attempt to address?